I need a help in this issue, i can't connect to smtp and can't send. i tried different solutions from other question but nothing, can someone give me a good explanation step-by-step what to do..i'm new to php. I've done email-sending, sms-sending with python but i can't get good documentation with php. please help. thanks
Asked
Active
Viewed 294 times
-2
-
please put some code so that we can check where is the problem. – Mahmood Rehman Nov 25 '13 at 05:01
-
http://www.9lessons.info/2009/10/send-mail-using-smtp-and-php.html – R R Nov 25 '13 at 05:04
1 Answers
1
I recommend using PHPMailer, heres a example http://phpmailer.worxware.com/?pg=examplebgmail for smtp
$mail->Host = "smtp.gmail.com"; //If you have a business gmail account
Username = "yourusername@gmail.com"; //Your login email username
Password = "yourpassword"; //Your password
For password use a 2-way verification using Admin panel. it would look something like wqhggkdhufjsjkpftj

Nikesh
- 421
- 3
- 8