leapkh
leapkh

Reputation: 21

Sending mail with PHP Imap

I could retrieve mails from Gmail server on localhost using PHP Imap, but I could not send one. I already try with functions imap_mail() and mail() Could you tell me how? or any thing is required such as mail server?

Thanks!

Upvotes: 0

Views: 1525

Answers (2)

pritaeas
pritaeas

Reputation: 2093

Here is a tutorial with some helpful comments, about specifying novalidate-cert (although I agree with cweiske).

Upvotes: 0

cweiske
cweiske

Reputation: 31068

Nearly nobody uses or supports sending mail with IMAP. Use SMTP to send mails out.

Upvotes: 3

Related Questions