Hi,

I have an error when trying to send an email in WAMP. Following is the error.

Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. 21sm3024664wfi.5 in E:\Projects\test\testmail.php on line 2

I dont know how to use the STARTTLS command. Does this error have any connection with the Host I use? I use smtp.gmail.com as the host.

Please help..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.