easybeau Posted July 28, 2006 Posted July 28, 2006 Hello, I cannot receive emails from my website since two weeks -> http://www.keepintouch-store.com When I click 'send', the message alert is: message sent successfully! Then I check my email box and NO message! I created a file email_test.php with the following code: <? mail("[email protected]","a super subject line","this is my test message, blah blah blah"); ?> I called it in browser but didn't get the message. Now I know the problem comes from the server and not from Osc! I try to contact my host but NO answer yet! Anybody has a solution, PLEASE! I don't know what to do! Many thanks, Isabelle
easybeau Posted July 28, 2006 Author Posted July 28, 2006 Somebody could help me?! Many thanks, Isabelle
jhande Posted July 29, 2006 Posted July 29, 2006 Hello,I cannot receive emails from my website since two weeks -> http://www.keepintouch-store.com When I click 'send', the message alert is: message sent successfully! Then I check my email box and NO message! I created a file email_test.php with the following code: <? mail("[email protected]","a super subject line","this is my test message, blah blah blah"); ?> I called it in browser but didn't get the message. Now I know the problem comes from the server and not from Osc! I try to contact my host but NO answer yet! Anybody has a solution, PLEASE! I don't know what to do! Many thanks, Isabelle Isabelle, I just checked my PHP book. Here is what they have for sending email from within a PHP page - mail ($to, $subject, $body); $to value should be an email address. $subject value will create the email's subject line. $body value is where you put the contents of the email (message). --- On the page --- // Send an email $body = "Your message, such as - Thank you for registering with our site!"; mail ($_post['emailaddress'], 'Thank you for registering!', $body, From: [email protected]'); ---------------------- Above: emailaddress = who sending too. Thank you for registering! = subject line. $body = well, what is written above in the $body message. From: [email protected] = change [email protected] to your reply too address. Also notice the use of single quote's (') not double quote's ("). Hope this might help... ;) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.