Reply to Re: Setting up Apache2 (Test Server on localhost) for email

Your name:

Reply:


Posted by J.O. Aho on 04/03/06 18:00

natalie vacca wrote:

> To me this is right:
>
> ...
> $txtHeaders = 'From: me@myplace.com' . "\r\n" .
> 'Reply-To: me@myplace.com' . "\r\n" .
> 'X-Mailer: PHP/' . phpversion();
>
>
> mail($txtTo, $txtSubject, $txtMessage, $txtHeaders);
>
> All other variables are defined to. Do I need to log in to the sending
> account somehow?

It's nothing with your php-code to do, you need to configure your php-engine
to use a mailer program/server, look in your php.ini, which most likely is
somewhere where you have got your php-engine installed.


//Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация