dsi-interactive Posted November 17, 2014 Share Posted November 17, 2014 I'm not a php programmer and need help connecting a contact form on my site to the server. The code in my mailHandler.php file starts with the data below. What do I place in each field. Thanks so much. $owner_email='#'; //SMTP server settings $host = ''; $port = '465';//"587"; $username = ''; $password = ''; Do I leave this as is? $subject='A message from your site visitor '; $user_email=''; $message_body=''; $message_type='html'; Link to comment Share on other sites More sharing options...
niche Posted November 17, 2014 Share Posted November 17, 2014 http://www.w3schools.com/php/php_forms.asp Link to comment Share on other sites More sharing options...
justsomeguy Posted November 17, 2014 Share Posted November 17, 2014 The $owner_email variable is probably the address that receives the email. The next 4 variables are settings for the SMTP server, you'll need to figure out which email server you're using and how to connect to it. Do I leave this as is?Those probably get set later in the code. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now