Send email using PHP
Connect to an outgoing SMTP server from a PHP script using SMTP authentication and send an email:
• Make sure the PEAR Mail package is installed.
o Typically, in particular with PHP 4 or later, this will have already been done for you. Just give it a try.
• Adapt the example below for your needs. Make sure you change the following variables at least:
o From: the email address from which you want the message to be sent.
o To: the recipient’s email address and name.
o Host: your outgoing SMTP server name.
o Username: the SMTP user name (typically the same as the user name used to retrieve mail).
o Password: the password for SMTP authentication.
Dedicated SMTP Servers
The SMTP server is the machine that manages the whole email delivery process. That’s why before to send your bulk email messages with email marketing software you need an SMTP server which should be properly setup as per mailing standards with your domain name (i.e. SPF, dkim, dmarc, rDNS).
To configure your email marketing software you will require a SMTP server host address, username, password and a port number to relay your campaign emails.
We offer 100% dedicated SMTP servers configured to send high volume bulk emails using your own SMTP server. Our SMTP servers have fast contact lists import features with fast email deliver speed and online interactive tracking features better than other providers.
All SMTP server plans include 24×7 monitoring, firewall security, and managed support for SMTP server hardware and software. Now you send millions of emails daily using your own dedicated bulk SMTP server. Our SMTP servers can be used for promotional and transactional email campaigns.