P. 1
Drupal

Drupal

|Views: 651|Likes:
Published by orakotoarison6598

More info:

Published by: orakotoarison6598 on Mar 28, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

02/22/2013

pdf

text

original

If you are not receiving any E-mails from Drupal, or if E-mail sent by Drupal is
bouncing, then ensure that the SMTP configuration is set properly in your
php.ini.

If you continue to have problems, the use the "user_mail_wrapper" option
included with Drupal.

You can now hook up your own custom SMTP library to Drupal
instead of using the default PHP mail() function. For more people
mail() will work just fine, but for others this is a major problem
and it does not work properly. If you just want to get started you
will have to download a custom wrapper function from the Drupal
contrib repository. If you already have a favorite SMTP function
you want to use you will have to create your own wrapper
function.

Make an include file that defines a user_mail_wrapper function:
user_mail_wrapper($mail, $subject, $message, $header); This
function should take the parameters and pass them to the SMTP
lib. You will probably have to configure the SMTP lib in some
way.

Modify your configuration file (conf.php) to include:

$conf["smtp_library"] = "path/to/wrapper.inc";

Check out
http://cvs.drupal.org/viewcvs/contributions/tricks/smtp/?cvsroot=c
ontrib for an example.

Originally written by Kjartan on January 9, 2002, with
modifications.

24iX Systems, Alte Kirchstr. 11, 56414 Steinefrenz
Web: www.24ix.de , Email: info@24ix.de
Tel.: 07000 7000 850

Customize smtp.inc from the repository above to ensure that the proper settings
for your SMTP server are being used.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->