How do I send email with PHPMailer for Windows Hosting?
Posted by Phil (Netcetera) on 25 April 2012 06:03 PM
Please see this link for more information regarding this PHP mail component.
Be sure to make the following changes when using this coding example:
1. Replace YourDomain.com with a valid Netcetera hosted domain name.
2. Replace email@example.com with a valid Netcetera hosted email account.
3. Replace password with the password for the email account used above.
4. Replace firstname.lastname@example.org with a valid email account.
**Your FROM address must be the same as the email address you authenticate with.**
Attached is a sample that includes a form. Copy and paste the code from the attached into a PHP page and make the appropriate changes to the mail server, email addresses, and password.