Hi, look also to exmaple 1051

Example 1051. Sending mail with an additional command line parameter.

The additional_parameters parameter can be used to pass an additional
parameter to the program configured to use when sending mail using the
sendmail_path.

<?php
mail('[EMAIL PROTECTED]', 'the subject', 'the message', null,
   '[EMAIL PROTECTED]');
?> 

always on http://www.php.net/manual/en/function.mail.php. This example
show you how to use sendmail command line syntax from PHP.

Bye

Davide



--- In [email protected], "hrmvb" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I updated my board to 1.3.4 and installed postoffice.
> From the commandline it works fine, but when I try to send mail using
> PHP it fails, because a lot of mailservers out there don't accept mail
> coming from '[EMAIL PROTECTED]'.
> 
> Who knows how to change the default sender [EMAIL PROTECTED] for PHP
> mail()?
> 
> - Harm
>


Reply via email to