Sending email remotely via code or configuration
Hello,
I would like to know what is the most correct way to send remote email via code or third party software?
Example: A client of mine has a system for sending invoices, he would like to use the email authentication present in cPanel to carry out these messages.
I already made some settings here, but I don't feel 100% sure to say that this is right. It is being able to send emails, but without support for a secure connection (using tls or ssl), port 465 is being used to send.
I would like a guide to configure this issue on my server to use sending e-mails remotely and also to avoid spam or security breaches, is there any material explaining this or could you help me?
Thank's
-
Okay, is that when I tried to use SSL on the server to send e-mail it presented the message: "Error sending e-mail: SSL is not available on this server." For this reason I thought that it could be some wrong configuration on my cPanel server. The link you sent me is using port 465, will it always be this? Thanks 0 -
That link was just one example, but in general, 465 or 587 are typically used. 0 -
Okay, I'm going to do a few more tests with code to try to use SSL/TLS. Actually the system that was tried to use SSL is from a client, so I don't have any details about the error, only the message that the server did not support SSL. Thanks for listening 0 -
It's always possible the client is too old to communicate with the server properly, such as a Windows 7 system. 0
Please sign in to leave a comment.
Comments
5 comments