Wright Posted January 29, 2010 Share Posted January 29, 2010 Hello everyone. I'm currently using mail() function on an Apache 2+ server with PHP 5+. Is it good idea to use this function when you can expect to send email to people to validate their accounts or someone that forgot their password. I'm gonna expect light-medium activity daily on my website. I heard about some PEAR scripts for mail sending. Is it worth it? is it better? If you tell me about a solution, please state where can I learn it (and how to check if my server has those packages installed). Also cookies is best way to mantain a login system right? Link to comment https://forums.phpfreaks.com/topic/190277-email-sending-question/ Share on other sites More sharing options...
oni-kun Posted January 29, 2010 Share Posted January 29, 2010 Sessions are to maintain a server side login. It sets one cookie (the session id) and that is all that is needed. Pear has a class for sending e-mails: http://pear.php.net/package/Mail Should be straight forward from there, to create validations etc. (which I recommend) Link to comment https://forums.phpfreaks.com/topic/190277-email-sending-question/#findComment-1003875 Share on other sites More sharing options...
Wright Posted January 29, 2010 Author Share Posted January 29, 2010 How do I know if PEAR is installed? I can't seem to find it on phpinfo()... Link to comment https://forums.phpfreaks.com/topic/190277-email-sending-question/#findComment-1003878 Share on other sites More sharing options...
Wright Posted January 29, 2010 Author Share Posted January 29, 2010 How do I know if PEAR is installed? I can't seem to find it on phpinfo()... Link to comment https://forums.phpfreaks.com/topic/190277-email-sending-question/#findComment-1003946 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.