Rookie9
Rookie9

Reputation: 57

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 server.

Upvotes: 1

Views: 753

Answers (2)

Sarfraz
Sarfraz

Reputation: 382806

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.

Upvotes: 2

TomTom
TomTom

Reputation: 62127

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.

Upvotes: 0

Related Questions