Jump to content

Email sending question


Wright

Recommended Posts

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

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)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.