Sending mail from your website(s) is very easy with us! Simply set your sites SMTP server to one of the below SMTP servers and that is all! We’ve disabled our primary mail server systems from accepting mail from our web servers, these mail servers are dedicated for website email and allow us to better control website email.
The following server hosts are available to send mail for our web servers and other ASPnix-hosted systems
- mailer.anaxanet.com (no authentication required)
The following ports are available for SMTP connections
Note that the PHP mail method / function is not available on our servers, it has been disabled for security purposes. We recommend though that you do not use the built in PHP mail delivery method as it is unreliable and emails sent through this method are known to be flagged as spam, please use a direct SMTP mailer such as PHPMailer or Swift Mailer.
These SMTP servers will only send mail for servers within our web hosting network, you will not be able to send mail from an external host, a local development machine, or any 3rd party email clients such as Outlook.
Below are some code samples of various languages to get you started!
Classic ASP (CDOSYS)
Classic ASP using Persits Mailer
Please note that Persits requires 32-bit application pools, make sure this has been set for your website.
PHP using PHPMailer
PHP using SwiftMailer