Jump to content

Recommended Posts

Posted
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?

 

 

 

Posted
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";
?>

 

 

Posted
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?

 

 

Posted

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.

 

 

 

Posted
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?

 

 

Posted

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.

 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...