00484: mail(,,,,string additional_parameters)

Summary: mail(,,,,string additional_parameters)
Created: 2005-07-31 14:53
Status: Closed - added in 2.1.7
Category: CoreCandidate
Priority: 55554
Version: all
OS: all

Description: To send mail using PHP, more and more hosting companies require the 5th parameter of mail() ("string additional_parameters") to be set to '-f email.addresss@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.


Closed - added to 2.1.7 as the $NotifyParameters variable (see PmWiki.Notify).