Geoff Muldoon wrote:
[color=blue]
>peter@gudzon.net says...
>
>[color=green]
>>I installed osCommerce on Apache server. By default it sends out e-mails
>>from the account 'nobody'. However, this option is turned off by the hosting
>>provider. Is there a way to make it send mail from a real account? Is there
>>a scripting solution for it (some PHP script)?
>>
>>[/color]
>
>To send an email from PHP where the sender appears as
>notnobody@somewhere.com:
>
>$param="-fnotnobody@somewhere.com";
>mail($to, $subject, $message, $header, $param);
>
>Geoff M
>
>[/color]
You can try to replace php's ini setting for 'from_email' before sending
the email , with ini_set() , and put it back after. Be aware that some
hosts won't allow sending emails other than a valid 'from' email
--
Jorj
Moderator SEO forum
http://forum.bitcontent.com
Webmaster community focusing on Internet marketing and website development issues
--