sumbin Posted March 21, 2013 Share Posted March 21, 2013 hello all, In my application I want to verify users email ID. So that I want to send a verification code to their email.Kindly anybody help regarding this. I want to send email from my application using a gmail account. Thank you Link to comment Share on other sites More sharing options...
justsomeguy Posted March 21, 2013 Share Posted March 21, 2013 Which part do you need help with? There's an example here which uses Pear Mail to send using SMTP authentication with Google's SMTP server: http://stackoverflow.com/questions/712392/send-email-using-gmail-smtp-server-from-php-page 1 Link to comment Share on other sites More sharing options...
sumbin Posted March 22, 2013 Author Share Posted March 22, 2013 hei.. Pls help regarding this. pls tel what are the steps require for this job. I have 1> WAMP installed2> one gmail account nothing more. now what are the steps require for sending mail from localhost as I didnt upload the application in internet. later on i will upload my application in internet. Link to comment Share on other sites More sharing options...
justsomeguy Posted March 22, 2013 Share Posted March 22, 2013 Assuming your network allows you to contact Gmail on the specified port, then the code I linked to will send an email. You will need to install the Pear Mail package on your server to use that code. http://pear.php.net/package/Mail/redirectedhttp://pear.php.net/manual/en/installation.php 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