Skip to main content
Weird SMTP Started by Hometutor · · Read 3917 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

Weird SMTP

I decided I'd better start another thread since the Gmail idea didn't go through. Tech for my hosting support helped me get my smtp working. It turns out it needed port 587. The test outside of the forum was successful. Inside the forum I tried to register and I never got the email.

Has anyone had this experience where smpt works outside the forum but not inside? I did read the other smtp issue but I don't think the problems are related.

Rick

PS Here's a weird addendum: Another forum I setup I used Softalicious to install. I had a little trouble with smtp and oddly enough port 25 ended up working. However, some of you may recall I had resource issues with that one and I thought it may be related to using Softalicious to install the forum.

This one I installed by hand and nothing I do will get emails to work even after the techs changed to port 587.
Last Edit: July 12, 2024, 01:58:33 am by Hometutor

Re: Weird SMTP

Reply #1

I'm not understanding the
Quote from: Hometutor – The test outside of the forum was successful
What actually did work?

When testing I like to use https://www.mail-tester.com/ use the provided email to register as a new user (don't use the mail queue, admin approve registrations, etc.) If the site is sending you will see the register email when you click test your score ... may take a minute or two. 

If that site gets the email you will get a score and from that be able to determine if the email is compliant enough to have a chance of being delivered to .gmail or .outlook or ....

25 is a standard port for SMTP
587 is the default mail submission port
465 is the legacy port for SSL.

Of course an ISP can block or restrict those ports requiring authorization.
If you check TLS the system will communicate with encryption to the port you specified (if you don't choose one it will use 25)
Its not uncommon when you are using your local server that the SMTP host is localhost, port 25, TLS, remote is more likely going to use 587
All of this simply adds/accepts the mail for sending/processing, like putting a piece of mail in a physical mailbox.  What happens after that could be anything.
Last Edit: July 12, 2024, 05:36:06 pm by Spuds

Re: Weird SMTP

Reply #2

I'm not sure what you intend with inside or outside the forum, but I guess it's a hosting problem. I used to send all my mail through SMTP and works fine in Elkarte.
sorry for my bad english

Re: Weird SMTP

Reply #3

Sorry for the poor explanation,
It tested okay here  https://www.smtper.net/ but when I removed one of my own email addresses from membership and tried to reregister it with the forum I never received the email. Does it make a difference in some settings if I were to reinstall using Softalicious?

Also is there a way to test the email besides registering my own emails and checking for a registration email?

Rick

Re: Weird SMTP

Reply #4

It does not matter that you use Softalicious to install, that has no effect on SMTP

Quote from: Hometutor – Also is there a way to test the email besides registering my own emails and checking for a registration email?
Not that it helps, but in 2.0 I added a way to test email ... in 1.1 the best way is what I described above as that service will accept any email no matter how ugly it may be, its purpose is to help you see if you are sending the email, and if so will a "real" mailbox accept it. 

For example .gmail will not accept emails if your PTR record is missing.  .outlook  (business version where the email is from .yerBussiness) is a notorious blocker of email.  Anyway point is to test if its actually sending use the above service.