i also want know how to authenticate and use Google SMTP server.
views:
53answers:
2
A:
Ask your host. Your host should hae a SMTP server for you. SMTP sending is a standard operation for a web host.
For authentiaatio nagainst google, ask google. There must be a webpage about sending emails via PHP and google - not using PHP here, so I can not answer that.
TomTom
2010-07-25 07:57:52
+2
A:
Use gmail with these settings:
smtp: smtp.gmail.com
port : 587
user: your gmail email address
pass: your gmail password
You can use SwiftMailer amongst others to send your email from your page.
Sarfraz
2010-07-25 07:58:16
i did as u said but it didnt work i need help in setting up the php.ini and php coding.can u please help pme with this matter and tell me if how can i use ptcl smtp server.i did the following changes[mail function]; For Win32 only.; http://php.net/smtpSMTP =smtp.gmail.com; http://php.net/smtp-portsmtp_port = 587; For Win32 only.; http://php.net/sendmail-fromsendmail_from = [email protected] username:[email protected] password:example
Rookie9
2010-07-28 13:26:18
@Rookie9:You should post your complete code to see how you are doing it.
Sarfraz
2010-07-28 13:47:06