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.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...