Send form mail using an SMTP relay server

Due to security reasons, we do not support Third Party SMTP 

We strongly suggest using our own SMTP server for mailing, we know that it is not at all an acceptable move for the developer community but for the safety of the server we have to apply it.

This code may help you.

Mail Host =
Mail Port = 465

There are the majority of SMB websites that run on CMS such as
and others. Most of these CMS software is inbuilt configured to send emails from themselves

These emails can be sent for various purposes – such as
Order confirmations
Invoice delivery
Contact form submissions
Password resets
Account registration and so on

Why is SMTP Blocked By Many Web Hosts? Web hosts often block SMTP ports to prevent bad actors from sending spam to other users

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Apple Mail

1. Open Apple Mail 2. Setup a mail account using POP 3. Setup a mail account using IMAP 4....

I can receive but can not send emails

Cannot send emails The most common reasons for not being able to send emails through emil...

How do I change my email password?

If you know your email password: Login to webmail. On the splash page, select "Change...

How do I configure my Default Address?

Login to cPanel. Locate and click on the "Default Address" icon within the "Mail" category....

How do I create a mailing list?

Login to cPanel. Locate the and click on the "Mailing Lists" icon within the "Mail" category....