...

View Full Version : How to use gmail SMTP in my PHP



omerjerk
11-15-2012, 01:34 PM
I am using a free hosting so I can't use the mail() function ...

So plz tell me how to use my gmail account for sending mails via the PHP script ...

Fumigator
11-15-2012, 02:35 PM
You can install XAMPP on your local machine and use the included Mercury mailer to send emails if you're too cheap to pay for hosting.

omerjerk
11-15-2012, 02:54 PM
You can install XAMPP on your local machine and use the included Mercury mailer to send emails if you're too cheap to pay for hosting.

I can't do that ... I've to upload it on net ...

mlseim
11-15-2012, 02:58 PM
Who is your webhost company?

tangoforce
11-15-2012, 03:06 PM
If you have no mail() on your host the odds are that you're also unable to use sockets. If thats the case then you can't use smtp at all. You're effectively locked in and unable to do anything than run a basic website.

Fumigator
11-15-2012, 04:08 PM
IYou're effectively locked in and unable to do anything than run a basic website.

...Which makes perfect sense, because you're getting the hosting for FREE.

tangoforce
11-15-2012, 04:14 PM
Yup, been there done that..

omerjerk
11-15-2012, 06:05 PM
OK. ..
Thanx ... Now atleast I've got the problem....

tym to go premium
..

P.S. I am using freehosting.com



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum