laozing Posted September 19, 2009 Posted September 19, 2009 My IPB 3.0.3 can't send validation emails through php mail apparently and so I switched to stmp but its not working either can anyone explain?
Byron Posted September 19, 2009 Posted September 19, 2009 My IPB 3.0.3 can't send validation emails through php mail apparently and so I switched to stmp but its not working either can anyone explain? Who is the email client that's not receiving emails?
Byron Posted September 19, 2009 Posted September 19, 2009 gmail Do you have a gmail account to try this test email with to see if they are blocking heliohost? <?php $to = "your_address@gmail.com"; $subject = "Test Mail"; $message = "Hello world!"; $headers = "From: you@your_site.heliohost.org"; mail($to, $subject, $message, $headers); echo "The email was sent"; ?>
laozing Posted September 19, 2009 Author Posted September 19, 2009 they are blocking heliohost what do I do?
Byron Posted September 19, 2009 Posted September 19, 2009 they are blocking heliohost what do I do? Are you geting a returned email with subject matter: Mail delivery failed: returning message to sender at your server mail that has the email headers from gmail?
Byron Posted September 19, 2009 Posted September 19, 2009 I just checked my gmail account (that I had forgotten I had) and my test mail went through without any problems. So gmail IS NOT blocking heliohost. You might want to check your spam folder but my email went directly to my In Box.
laozing Posted September 21, 2009 Author Posted September 21, 2009 I think I did the thing wrong. How do I use that code? I got no failed sesd thing.
Byron Posted September 21, 2009 Posted September 21, 2009 I think I did the thing wrong. How do I use that code? I got no failed sesd thing. Are you referring to the code I posted to send a test email?
laozing Posted September 22, 2009 Author Posted September 22, 2009 yeah that code. still a noob at php and its uses.
Byron Posted September 22, 2009 Posted September 22, 2009 Just copy the code below to your server and change it two places. 1) $to = "your_address@gmail.com"; Put the email address your sending to, that would be your google address. 2) $headers = "From: you@your_site.heliohost.org"; Put your server email address here. <?php $to = "your_address@gmail.com"; $subject = "Test Mail"; $message = "Hello world!"; $headers = "From: you@your_site.heliohost.org"; mail($to, $subject, $message, $headers); echo "The email was sent"; ?> After your finished just click onto the file and the email is sent.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now