Can anyone tell me any SMTP server i can use to send an email from my php page?
i also want know how to authenticate and use Google SMTP se开发者_如何学运维rver.
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.
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.
精彩评论