Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

using mail with gmail and other on line mail server

the mail() function

Moderators: macek, egami, gesf

using mail with gmail and other on line mail server

Postby programAngel » Tue Jul 05, 2011 3:46 am

How should I configure php.ini to work with gmail.

Lets say that my user name is user and my password is password.

Where should I put this information in the configuration?

Can mail work with gmail?
programAngel
New php-forum User
New php-forum User
 
Posts: 2
Joined: Tue Jul 05, 2011 3:43 am

Re: using mail with gmail and other on line mail server

Postby jorgepinho » Wed Jul 06, 2011 5:54 am

Hi,

If you want to send an email, you can use mail() anyway, just place headers, with tracking info so that servers dont think you are SPAM

If you want to interact with the gmail server and read your mail, you have to activate POP on gmail panel and then connect from PHP using SSL

The functions are in here:

http://pt2.php.net/manual/en/book.imap.php

--
Jorge
Live Help on Skype: lets.talk.about.help
jorgepinho
New php-forum User
New php-forum User
 
Posts: 101
Joined: Tue Jul 05, 2011 5:41 am
Location: Portugal


Return to PHP coding => Mail

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.