[pmwiki-users] mail(,,,,string additional_parameters)

Christophe David pmwiki at christophedavid.org
Tue Jul 19 04:46:39 CDT 2005


To send mail using PHP, my hosting company requires the 5th parameter of
mail() ("string additional_parameters") to be set to '-f
email.addresss at domain.com'.

mail() doc : http://www.php.net/manual/en/function.mail.php

Would it be possible to add another variable
$MailPostsAdditionalParameters and to pass it to the mail function in
mailposts.php line 92, like

$MailPostsFunction($MailPostsTo,$MailPostsSubject,
  str_replace('$MailPostsList',join('',$mailpost),$MailPostsMessage),
  $MailPostsHeaders, $MailPostsAdditionalParameters);

PmWiki doc : http://www.pmwiki.org/wiki/PmWiki/MailPosts

Thank you in anticipation.

Christophe







More information about the pmwiki-users mailing list