I don't know who needs to hear this (like thousands of people) but I finally figured out our email problems!!!!!!!!!
Beyond the brief discussion below, I have added the most common steps to take in order to make sure that your email sent from your website forms and extensions properly.
I have been dealing with the "email not sending" problem in my industry for years. Seriously years. Sometimes we get lucky, and our server has a setup that sends emails nicely and freely. Then, one day it stops working... Or, it never really worked, to begin with, and the customer results in using embedded forms to communicate with their clients.
Don't panic (unless you do not have WHM and cPanel. then panic away-or move your site to a VPS server with WHM and cPanel (I host for info contact me if you wish or to set your email up as described here), as these steps are very easy, and very necessary for you to learn to set up your email properly.
You do need to have at least cPanel (and a domain with an MX record already) in order to set the email routing and the email Zone Editor. This way, the server knows where to send email to. If you don't set the MX record in the Zone Editor, the server sends the email to the @ record on the domain, which results in a huge loop (I believe). So, that will get your messages routed and ready to send. On to step two, you have to increase the allowed email size in your WHM panel, because it never leaves the server because most emails from Joomla, WordPress, etc., are larger in size than the server will allow by default.
Next, in order to change the size of "Maximum line length for SMTP transports" you have to have a WHM panel and not just access to the server cPanel. So, you may have to upgrade your server plan with your hosting company in order to change the email size. Search for EXIM Configuration Manager enable it and wait for it the EXIM to start. Remember sometimes you may have to restart services/or the entire server before some settings in a server fully take effect. Restarting ensures everything has a refresh-but your sites and mail will go down temporarily remember that.
This is a 2-part process where you need to track the delivery of your emails in cPanel, and then increase the message limit in the WHM panel until the Track Delivery screen shows that your email was accepted-meaning that it was sent from the server. Again, I will describe all of the steps in detail below.
The error "Maximum line length for SMTP transports" needs to be increased from the default size of 2048 to something much larger (as most HTML emails contain some sort of formatting/graphics/images. I chose 15000, and that seemed to work for me. This option is only available if you have a cPanel with WHM. The WHM Panel is above the cPanel. WHM panels take some work and knowledge to really get them going, well just little things like file upload sizes need to be changed, and other small but easy-to-find info on to get you through it.
Below is a walk-through on how to make the above corrections to your server (and other important setup info):
What I did in order to send Emails from my Servers:
Here is a list of common email Joomla settings:
Gmail: https://docs.joomla.org/How_do_I_use_Gm ... _server%3F
Office 365 viewtopic.php?t=996359
Login to your cPanel, and click on Email Routing. If you are like most of us web devs, then you or your client has a Gmail account or something along that line. We rarely set up a real email server where our precious and vulnerable website resides. So, we tend not to use our web server as an email server. We instead want the emails from the website contact forms, admin emails from carts, and customer order emails to be sent from the server. So, to pass the email along somewhere else, you must select "Remote Mail Exchanger" in the Email Routing of your cPanel.
If you are like me, you might have your Joomla, WordPress, or even OpenCart on a server with GoDaddy. Some of your emails might be sent, while others simply do not. The reason why some send, and others don't is because of message size limits which vary in size depending on what the email contains. Of course, a non-HTML email will be much smaller in size and will usually be sent by default (so, to try one test, maybe change your email type from HTML to text).
From there simply set your email settings in your Joomla such as email address, host, and password.
Well, friends... That is how you get your email working if you are like me and have GoDaddy or Microsoft email on a cPanel server. The only trick is that you have to have a WHM panel, which means you must have a VPS (Virtual Private Server). If you do not have a VPS, then your only luck is to host your files with a company with the proper settings in their servers.
Beyond the brief discussion below, I have added the most common steps to take in order to make sure that your email sent from your website forms and extensions properly.
I have been dealing with the "email not sending" problem in my industry for years. Seriously years. Sometimes we get lucky, and our server has a setup that sends emails nicely and freely. Then, one day it stops working... Or, it never really worked, to begin with, and the customer results in using embedded forms to communicate with their clients.
Don't panic (unless you do not have WHM and cPanel. then panic away-or move your site to a VPS server with WHM and cPanel (I host for info contact me if you wish or to set your email up as described here), as these steps are very easy, and very necessary for you to learn to set up your email properly.
You do need to have at least cPanel (and a domain with an MX record already) in order to set the email routing and the email Zone Editor. This way, the server knows where to send email to. If you don't set the MX record in the Zone Editor, the server sends the email to the @ record on the domain, which results in a huge loop (I believe). So, that will get your messages routed and ready to send. On to step two, you have to increase the allowed email size in your WHM panel, because it never leaves the server because most emails from Joomla, WordPress, etc., are larger in size than the server will allow by default.
Next, in order to change the size of "Maximum line length for SMTP transports" you have to have a WHM panel and not just access to the server cPanel. So, you may have to upgrade your server plan with your hosting company in order to change the email size. Search for EXIM Configuration Manager enable it and wait for it the EXIM to start. Remember sometimes you may have to restart services/or the entire server before some settings in a server fully take effect. Restarting ensures everything has a refresh-but your sites and mail will go down temporarily remember that.
This is a 2-part process where you need to track the delivery of your emails in cPanel, and then increase the message limit in the WHM panel until the Track Delivery screen shows that your email was accepted-meaning that it was sent from the server. Again, I will describe all of the steps in detail below.
The error "Maximum line length for SMTP transports" needs to be increased from the default size of 2048 to something much larger (as most HTML emails contain some sort of formatting/graphics/images. I chose 15000, and that seemed to work for me. This option is only available if you have a cPanel with WHM. The WHM Panel is above the cPanel. WHM panels take some work and knowledge to really get them going, well just little things like file upload sizes need to be changed, and other small but easy-to-find info on to get you through it.
Below is a walk-through on how to make the above corrections to your server (and other important setup info):
What I did in order to send Emails from my Servers:
- Step 1.
Here is a list of common email Joomla settings:
Gmail: https://docs.joomla.org/How_do_I_use_Gm ... _server%3F
Office 365 viewtopic.php?t=996359
- Step 2.
Login to your cPanel, and click on Email Routing. If you are like most of us web devs, then you or your client has a Gmail account or something along that line. We rarely set up a real email server where our precious and vulnerable website resides. So, we tend not to use our web server as an email server. We instead want the emails from the website contact forms, admin emails from carts, and customer order emails to be sent from the server. So, to pass the email along somewhere else, you must select "Remote Mail Exchanger" in the Email Routing of your cPanel.
- Step 3.
If you are like me, you might have your Joomla, WordPress, or even OpenCart on a server with GoDaddy. Some of your emails might be sent, while others simply do not. The reason why some send, and others don't is because of message size limits which vary in size depending on what the email contains. Of course, a non-HTML email will be much smaller in size and will usually be sent by default (so, to try one test, maybe change your email type from HTML to text).
From there simply set your email settings in your Joomla such as email address, host, and password.
Well, friends... That is how you get your email working if you are like me and have GoDaddy or Microsoft email on a cPanel server. The only trick is that you have to have a WHM panel, which means you must have a VPS (Virtual Private Server). If you do not have a VPS, then your only luck is to host your files with a company with the proper settings in their servers.
Statistics: Posted by samlf3rd — Mon Jan 29, 2024 8:06 pm