Chico Felipe wrote:I am not sure how to configure the fake sendmail. Sorry, if I bother you with this. I don't know what part of the code I have to change and where exactly to put it?
You need to change C:\xampp\php\php.ini to change from mailtodisk.exe to sendmail.exe (search for the [mail function] block)
After that you need to specify the sendmail configuration in C:\xampp\sendmail\sendmail.ini
I haven't used sendmail for years, so i can't say anything more to this, sorry.
To use PHPMailer (which is a php class) you don't need to change anything in the configuration files. Simply download the class and include it to your code.
All the configuration parameter for the email sending can and have to be done in your/the code, so you just need to worry one time about configuration and after that you can simply bring email functionality by copy and paste the configured php files.
PHPMailer comes with some example files (
e.g. for gmail) which already contains the basic configuration parameters so that you just need to input your username and password and ready for take off.
Chico Felipe wrote:Or it is easier to download the alternatives you mentioned???
The first step of configuration needs to be done for both so there none of them is easier than the other.
But PHPMailer is bulletproof has a very good documentation with many examples, an active community, etc etc.
At the end it's up to you which one to choose.