Mobile app version of vmapp.org
Login or Join
Martha676

: Why won't webmail receive emails from outside my domain? I'm new to GoDaddy Linux cPanel web hosting. I've created multiple email accounts @my-domain using cPanel. These addresses can send mail

@Martha676

Posted in: #Cpanel #Godaddy #Webmail

I'm new to GoDaddy Linux cPanel web hosting.

I've created multiple email accounts @my -domain using cPanel. These addresses can send mail successfully to each other and also to any other email account outside my domain (like Gmail).

But all emails @my -domain can only receive email from each other not from outside my domain. That is, if I send an email from my Gmail to my @my -domain account it doesn't appear in my @my -domain account web mail inbox.

Why is this happening and what's the solution?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Martha676

3 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

If you just upgraded from Godaddy Linux to cPanel and had the gdform.php to send your email from your forms* and it doesn't work anymore, the below example works pretty good. There's probably a more sophisticated way you can do it but this works

*(With a subject, email and body. Be sure to match the names and ID to the variables below $_POST["Email"])

$landing_page = 'contact_thank_you.htm';

$from = htmlspecialchars($_POST["Email"]);
$subject = htmlspecialchars($_POST["subject"]);
$message = 'Website: This Website Mail' . "rn";
$message .= 'Comment: ' . htmlspecialchars($_POST["subject"]);

$to = 'you@yourwebsite.com';
$headers = 'From: '.$from."rn".
'Reply-To: '.$from."rn".
'X-Mailer: PHP/' . phpversion();


mail($to, $subject, $message, $headers);

if ($key == "redirect") { $landing_page = $val;}

fclose($fp);
if ($landing_page != ""){
header("Location: .$_SERVER["HTTP_HOST"]."/$landing_page");
} else {
header("Location: .$_SERVER["HTTP_HOST"]."/");
}

10% popularity Vote Up Vote Down


 

@Yeniel560

I had the same problem always any time I used a mail account inn CPanel.
I just solved it today, here is what I did.

Anyway, I made a new mail acount in my CPanel, with 250mb quota, tried to send emails to ma gmail,it worked,responded back and it didnt work.

Another susspicius thing was, that i thought I was sending an email from my newly created email account but on Gmail I would get it from a different email from the same domain (it was my CPanel username email, which doesnt seem to have any quota assigned to it or any space on the server). So I had a chat with the support service, but they tld me to login to the members area and file a ticket.

So I logged in to the members area,but first clicked a "Webmail" button there, which basically sent me to CPanel but didn't have the login screen for the whole CPanel interface but just asked me to login to my newly created email account directly, so I did, and voila! All of my test email messages from gmail were there received in the inbox! :)

10% popularity Vote Up Vote Down


 

@Angie530

Check DNS Records

If your domains are registered at GoDaddy, then your MX records are likely pointing to GoDaddy's email servers and not your server.

Check your DNS and make sure that your domains have the following:


MX record pointing to mail.domain.com
mail.domain.com A record pointing to your cPanel's server IP address.


With cPanel (and many systems), when sending emails between domains within the server, DNS is not consulted. This is why you can get local delivery but not delivery from domains outside of your server.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme