vishalonne Posted August 16, 2012 Share Posted August 16, 2012 Dear All I want to send a mail as phpfreaks send confirmation mail when new user register. How can I send mail from my site using SMTP outgoing mail server. I tried and checked may way but not achive any positive result. Here is my mail server detail- SmtpServer="mail.cbsecsnip.in" SmtpPort="587" SmtpUser="support@cbsecsnip.in" SmtpPass="password@123" // assume this is the password Can any body help me out in this with some sort of code. I am trying one example I found on net - http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.htmlBut this also not works. Thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/267186-how-to-send-mail-from-my-site/ Share on other sites More sharing options...
ManiacDan Posted August 16, 2012 Share Posted August 16, 2012 Use PHPMailer, it handles most of the hard parts for you. There are tutorials available for it. Be sure to set the FROM and REPLY-TO headers using the built-in functions. Quote Link to comment https://forums.phpfreaks.com/topic/267186-how-to-send-mail-from-my-site/#findComment-1369947 Share on other sites More sharing options...
vishalonne Posted August 16, 2012 Author Share Posted August 16, 2012 Thank you ManiacDan for consideration can you give some good links on this Quote Link to comment https://forums.phpfreaks.com/topic/267186-how-to-send-mail-from-my-site/#findComment-1369949 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.