Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to use gmail SMTP in my PHP

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

  2. #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,692
    Thanks
    42
    Thanked 637 Times in 625 Posts
    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.

  3. #3
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fumigator View Post
    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 ...

  4. #4
    Supreme Master coder!
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    10,030
    Thanks
    10
    Thanked 1,153 Times in 1,144 Posts
    Who is your webhost company?

  5. #5
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,913
    Thanks
    91
    Thanked 581 Times in 568 Posts
    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.
    Quote Originally Posted by deathshadow View Post
    So seriously, loosen up that tie, let out the belt, and try relating to normal people on the street instead of the gentleman's club crowd.

  6. #6
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,692
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Quote Originally Posted by tangoforce View Post
    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.

  7. #7
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,913
    Thanks
    91
    Thanked 581 Times in 568 Posts
    Yup, been there done that..
    Quote Originally Posted by deathshadow View Post
    So seriously, loosen up that tie, let out the belt, and try relating to normal people on the street instead of the gentleman's club crowd.

  8. #8
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    OK. ..
    Thanx ... Now atleast I've got the problem....

    tym to go premium
    ..

    P.S. I am using freehosting.com


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •