Page 1 of 1

Setup mailing on a WAMP server

Posted: Mon Mar 25, 2024 3:22 pm
by marisoft

Hello,

My development is done using a WAMP server, and I need to be able to mail from this server.
How do I install and configure (I assume) PHPmailer so PHPmaker scripts uses it?

/Poul


Re: Setup mailing on a WAMP server

Posted: Mon Mar 25, 2024 5:02 pm
by arbei

You may just set up valid SMTP server info. If you have firewall on your PC or network, you may also need to add a rule for outgoing email.

If you just need to test email sending during development, you may also use a fake SMTP server, you may google "fake smtp".


Re: Setup mailing on a WAMP server

Posted: Tue Mar 26, 2024 3:06 am
by marisoft

Thanks.

I am getting: Failed to connect to server SMTP code: 10060

even when firewall is temporarily disabled, also added an rule to allow outgoing traffic on port 587, but all to no avail.


Re: Setup mailing on a WAMP server

Posted: Tue Mar 26, 2024 10:16 am
by arbei

You better write a simple script and put it in your site to test your SMTP settings first. Also enable SMTP Debugging in your test script to find the detailed error.