sandhya Posted April 20, 2010 Share Posted April 20, 2010 hi all, actually i have shifted a website from one server to another. After that i'm getting problem with mails. then i tried different code to send mails. even by SMTP Athentication. while i'm using normal mailing code. the mail() function returns true but mail is not sending. while using SMTP Athentication code, i was strucked at smtp connection. its not connecting. if anybody can provide simple code to send mail using SMTP athentication or by mail() function i "ll be very thankful. its urgent. Quote Link to comment https://forums.phpfreaks.com/topic/199113-smtp-athentication-problem/ Share on other sites More sharing options...
F00Baron Posted April 20, 2010 Share Posted April 20, 2010 This one works for me: http://www.justin-cook.com/wp/2006/03/14/php-socket_mail-an-alternative-to-mail/ Quote Link to comment https://forums.phpfreaks.com/topic/199113-smtp-athentication-problem/#findComment-1045145 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.