You are here: Re: php email problem « PHP Programming Language « IT news, forums, messages
Re: php email problem

Posted by Juliette on 12/22/05 00:25

number1.email@gmail.com wrote:
> Thanks guys...alas, nothing seems to work. I've tried the following
> code:
>
> <?
> error_reporting( E_ALL );
>
> if( mail( "number1.email@gmail.com", "A", "B", "From: abc@aol.com" ) )
> {
> echo 'php - Finished Emailing.';
> }
> else {
> echo 'php - Sending mail failed';
> }
> ?>
>
> And I still don't get an email. Not sure what to think...is there any
> other "mail" option I have for my HTML / PHP bases Web Site?
>

You could have a look at this fully featured open source class:
http://phpmailer.sourceforge.net/

They may have figured out ways to get round the bug mentioned by Rajesh.

 

Navigation:

[Reply to this 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

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