Garry

PHP contact script send by SMTP?

Recommended Posts

You'll need to create an email account to send from then since you're not using the mail() function then you're probably best to utilize a mailing library.  Here are a few examples of them:

http://swiftmailer.org/
https://github.com/PHPMailer/PHPMailer

 

If it's a third party application a lot of them already can interface with SMTP.  You just need to tell them the SMTP server and a username and password.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now