jerseyguy0
asked on
smtp sendmail using google mail for a domain in php
// Sets the SMTP server to send emails
$Variable->setSMTP("smtpse rver.host. com");
how do I change this php code to smtp sendmail using google mail for a domain
my domain name is luxuryhouses.com
and I am using google as domain email
$Variable->setSMTP("smtpse
how do I change this php code to smtp sendmail using google mail for a domain
my domain name is luxuryhouses.com
and I am using google as domain email
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
You said that when you use your domain, I can send emails using smtp.gmail.com.
Does that mean your original question was answered?
There are many possibilities for why you cannot send mail via localhost but we don't have enough information from you to diagnose this. Â
I suggest that you open a new question about your troubles with localhost because this question is about smtp for gmail.
Best luck,
Hank
Does that mean your original question was answered?
There are many possibilities for why you cannot send mail via localhost but we don't have enough information from you to diagnose this. Â
I suggest that you open a new question about your troubles with localhost because this question is about smtp for gmail.
Best luck,
Hank
ASKER
but when i use my domain, I can send emails
using
smtp.gmail.com
why doesnt this work for localhost