Reply to Re: What's Missing From This Form Mail Code?

Your name:

Reply:


Posted by Vik Rubenfeld on 12/08/06 16:51

Thanks, Geoff. I added the code in, and it ran with no errors. But when
I entered my own email address on the form, I received no email from the
site. What could explain this?


-Vik



Geoff Berrow <blthecat@ckdog.co.uk> wrote:

> Assuming you are replacing an@email.com with a valid email address you
> could try
>
> if(mail( "an@email.com", "subject line",
> "$text", "From: $email" )){
> header( "Location: http://www.mydomain.com/Contact/thanks.html" );
> }
> else{
> echo "mail could not be sent";
> }
>
> This will check if mail is actually being received for posting.

[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

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