Jump to content

Recommended Posts

I don't understand

 

I used to be hosted by GoDaddy and had email working with mail() but then I switched to OVH and had to install mail() function

 

Now my emails sent are marked as spam

 

Do I have to pay for email sending?

 

Otherwise I'll avoid email sending and find an alternate method

 

Email is an art, with a heck of a lot of complications if you want to get delivered straight to the inbox. Many things can affect it such as the headers you send, whether or not the "from" is an email account on your actual domain (user@xyz.com shouldn't be sending as user@abc.com), domain reputation, spam filters on the domain the mail is being sent TO, whether or not your domain has a PTR record, whether you have a SPF record, whether you have DKIM setup, whether or not your IP/Domain is listed in a RBL, whether or not your email server is acting as an open-relay, and a myriad of other things.  Most people aren't experts and this goes WAY beyond using code to send email. If you have mission critical email, I'd really use a 3rd party solution such as sendgrid.

 

One place to start would be something like mxtoolbox. Enter your mail servers domain (like mail.yourhost.com) and see what it says.

I tested my domain, I was able to send mail yet the SMTP doesn't seem to exist, does that make sense?

 

"Unable to connect after 15 seconds" was my result

 

I haven't set up SMTP yet, I'll have to compare my DNS from one domain to another to see any differences.

Thank you for your thorough response.

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.