First of all, i'd like to say, that i'm a newone in php. So if the question is quite stupid, please don't laugh.
So, here i go :
I'm working under windows XP, i have installed XAMPP v.1.6.4.
I'd like to create a simple form which could send an email. (for example, there would be only a text field to write a message, and a button to send the written message. Recepients adress, and a subject, would be in a php "memory".
I've read little bit about swift mailer, and i got to the conclusion - that it should fit my poor need.
I tried to CONFIGURE it by myself, but only got errors
Correct me if i'm wrong : if you use swift mailer, there's no need to use php mail() function?
My form would use my e-mail, created in gmail.
I get this error, most of times:
Code: Select all
Expected response code(s) [334] but got response [530 5.7.0 Must issue a [b]STARTTLS [/b]command first y18sm7455427fkd]By the way, i have installed the smtp server (QK SMTP server) if it's needed.
GMAIL settings:
Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587
Do i need to edit my php.ini file?Account Name: your Gmail username (including @gmail.com)
Email Address: your full Gmail email address (username@gmail.com)
Password: your Gmail password