I want to send email from [email protected]. I have configured my wamp as per this stackoverflow link below above code works fine to send using gmail account but not using other domain account e.g. Want to send from [email protected].
Please guide me.
In php.ini I have made following changes
<?php
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = [email protected]
sendmail_path = "\"D:\wampp\sendmail\sendmail.exe\" -t"
?>
In sendmail.ini I have changed code to
<?php
[sendmail]
smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
[email protected]
auth_password=my-gmail-password
[email protected]
?>