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

Your name:

Reply:


Posted by Chuck Anderson on 12/08/06 19:01

Vik Rubenfeld wrote:
> 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.
>>

Just a thought, ... my ISP was blocking the IP address of the shared
server my site is on and bouncing all emails sent from it. I found the
bounce messages in the default mailbox at my domain.

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************

[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

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