Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Problem with Hostgator's SMTP filtering
Post Body

I have app still in development on Hostgator server and it is done registration and e-mail validation by default. Hostgator is filtering messages and not sending. After a support calls back and forth, they responded:

----
Thank you for the clarification. After further testing, it would appear the script is not configured in a manner which will permit mail sending from our server. The script appears to be sending from localhost as the HELO name (or 127.0.0.1). 2022-03-20 13:20:15 1nW0A3-000gFe-3g <= admin@*****.com H=gator4322.hostgator.com ([127.0.0.1]) [162.241.***.***]:59380 Our servers will not permit mail to be sent from the localhost in the interest of security. In order for messages to get through, it will need to be sent from the primary IP of the server or you can simply use your domain in its place, so long as that domain is pointed to your server.

-----

my .env config is

---

APP_ENV=production
APP_URL=http://dev.*****.com
...
MAIL_MAILER=smtp
MAIL_HOST=gator4322.hostgator.com
MAIL_PORT=465
MAIL_USERNAME=admin@******.com
MAIL_PASSWORD=*********
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=admin@*****.com
MAIL_FROM_NAME="${APP_NAME}"

Is there anywhere in the code where there is set a locahost where I should change to a domain name? Just to point out: there is no error, just that mail does not leave hostgator server.

Author
User Disabled
Account Strength
0%
Disabled 2 months ago
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
121
Link Karma
98
Comment Karma
23
Profile updated: 4 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago