The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to send mails using PHP? Re: How to send mails using PHP?


Couple of questions:
1.) Are you trying to send via SMTP or PHP native mail() function?
2.) Do you have an SMTP server setup on your windows box?

Also, you’re not providing the proper mail headers. You need:
– version
– content-type / charset
– from
– reply-to

all which need to new line breaks for the native mail function. ie “rn”.