Title: getting error
Last modified: January 8, 2018

---

# getting error

 *  Resolved [imperialhighland](https://wordpress.org/support/users/imperialhighland/)
 * (@imperialhighland)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-error-40/)
 * hi i have install your plugin but i am getting error email not sent see screenshot
   [http://prntscr.com/hxhc9o](http://prntscr.com/hxhc9o)
    thank you

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [imperialhighland](https://wordpress.org/support/users/imperialhighland/)
 * (@imperialhighland)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-error-40/#post-9842708)
 * i have my own smtp [email@mydomain.com](https://wordpress.org/support/topic/getting-error-40/email@mydomain.com?output_format=md)
 *  Plugin Author [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * (@contact-banker)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-error-40/#post-9842765)
 * Hi,
 * You would have to contact with your Server host and ask them to do the following
   settings:
 * 1. You would need to login into your WHM Panel and under this go to Tweak Settings.
   Under the Tweak Settings, turn off the option (Restrict outgoing SMTP to root,
   exim, and mailman (AKA SMTP Tweak)
 * 2. You would need to login into your WHM Panel and under Plugins section, click
   on the option “ConfigServer Security & Firewall”. After that under the ConfigServer
   Firewall tab, click on Firewall Configuration option. Under this turn off the
   options “SMTP_BLOCK” and “SMTP_ALLOWLOCAL”.
 * We have attached all the screenshots for your help. Please have a look at it.
 * [https://ibb.co/k96oCG](https://ibb.co/k96oCG)
    [https://ibb.co/eqEKKw](https://ibb.co/eqEKKw)
   [https://ibb.co/djtqRb](https://ibb.co/djtqRb) [https://ibb.co/kgK8CG](https://ibb.co/kgK8CG)
   [https://ibb.co/mQZmzw](https://ibb.co/mQZmzw)
 * Hope that fixes the issue for you!
 * Thanks
 *  Thread Starter [imperialhighland](https://wordpress.org/support/users/imperialhighland/)
 * (@imperialhighland)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-error-40/#post-9842787)
 * Many thanks for your quick reply. I am using VPS server and Centos Web Panel
   
   setting will be same? like whm?
 *  Thread Starter [imperialhighland](https://wordpress.org/support/users/imperialhighland/)
 * (@imperialhighland)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-error-40/#post-9842872)
 * i have checked this is not the same like WHM
    can you please help me about this
   problem? thank you
 *  Plugin Author [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * (@contact-banker)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getting-error-40/#post-9842991)
 * Hi,
 * If your VPS has ConfigServer Firewall (CSF) installed then this would most likely
   be causing the problem.
 * You will need to review the firewall configuration on the VPS and ensure hose
   ports are allowed outbound.
 * You have to allow outgoing traffic to ports 25, 465, 587 and in the case of Mandrill
   2525 as well.
 * You should actually be fine enabling only the one you will connect to. So:
 * sudo vim /etc/csf/csf.conf
 * add 25,2525,465,587 to TCP_OUT, and to TCP6_OUT if you use IPv6.
 * You might also need to remove that ports from SMTP_PORTS if you have SMTP_BLOCK
   enabled (if it is set to 1).
 * It’s better to contact your Web Host with the above response and I am sure that
   we will be able to help you out.
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘getting error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mail-bank_724f4f.svg)
 * [Mail Bank - #1 Mail SMTP Plugin for WordPress](https://wordpress.org/plugins/wp-mail-bank/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-bank/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-bank/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-bank/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-bank/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-bank/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/getting-error-40/#post-9842991)
 * Status: resolved