Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am very curious, so sorry if I am asking this in the wrong way, but I can't find this info anywhere.

I have a newsletter service installed in my Joomla 3.1 that allows me to send emails via PHP mailer. In the last few days, I figured out that at least 30% of my sent emails were blocked (and so my domain IP).

So I asked myself the meaning of changing mailer method to SMTP (the configuration in my Joomla allows me to do this), but here's a question: how could I install an SMTP server in my host (with cPanel) resulting in more delivered e-mails?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If the server that's hosting cPanel has the same IP address as your domain, and that IP address is blacklisted (as covered previously here), then you should try to send email using another IP address, or use an SMTP server with a different IP address that's not blacklisted.

If you request an additional IP address from your web host (that's not blacklisted), you can configure Exim in cPanel to use that IP instead - see: Changing the Sending IP for Outbound Email in Exim

Your web hosting company (or ISP) may also provide an external SMTP that you can relay through which you could use in your mailer - check their FAQ's or support knowledge-base.

If your domain is also blacklisted however, in addition to your IP, using another IP address or SMTP may still result in emails being rejected with your domain in the from address. So it would be wise to check both your domain and IP address on a multi-RBL check like this one, and request they be removed by each site that it shows up on.

share|improve this answer
    
thank you so much. I checked if my host is blocked before ask this question, happily I am not blocked in any server. The question remains in a topic: the best mailler method for e-mail recipients (improving percentage of delivered emails), is php mail or STMP Server, and if is a YES to SMTP, how can I configure it in my host? I read something that says that SMTP is the best method, but I can't figure it. –  fiskolin Sep 20 '13 at 8:46
    
No problem. It seemed from this: my sent e-mails were blocked (and so my domain IP), and your previous question, that your domain or IP was being blocked. I'm not sure what PHP mailer you're using, but most require either an SMTP server to be specified or they use the local mail transfer agent (MTA) on the system, which also uses SMTP. –  dan Sep 20 '13 at 10:33
    
In cPanel, the MTA is Exim. By default it's configured when you create email accounts, and typically named something like "mail.example.com", but might require authentication to use with scripts. As far as configuring it to avoid being blocked, see this. –  dan Sep 20 '13 at 10:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.