Sending Emails through PHP

Discussion in 'PHP' started by Bhullarz, Sep 5, 2008.

  1. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    http://www.tutors161.com
    Hi all ! I need help in sending emails through PHP. I want to send email to my website users. I have got the email id of all the users in MySQL table. I am retrieving those one by one. But the problem is Mail function of PHP is not sending mails to the users.
    Code:
    mail("Users' Email","subject of mail","content of mail","From:my email address");
    
    I am using a free webhost which has enabled the php mail function for free users.

    kindly guide me DO i need to setup anything extra for using this function. ?
    How can I use my GOOGLE account to sending mails through PHP ?

    Thanks in advance.
     
  2. XXxxImmortalxxXX

    XXxxImmortalxxXX New Member

    Joined:
    Jun 27, 2007
    Messages:
    561
    Likes Received:
    19
    Trophy Points:
    0
    ill post the e-mail script i use for my domain in a hour or two okay
     
  3. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    http://www.tutors161.com

    I am waiting bro ! IT's been 2 days already.
     
  4. XXxxImmortalxxXX

    XXxxImmortalxxXX New Member

    Joined:
    Jun 27, 2007
    Messages:
    561
    Likes Received:
    19
    Trophy Points:
    0
    yeah sry i had to reupload my webiste
     
  5. Bhullarz

    Bhullarz New Member

    Joined:
    Nov 15, 2006
    Messages:
    253
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    System Manager
    Home Page:
    http://www.tutors161.com
    Is there anyone else, who can provide the solution ?
     
  6. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
  7. Lucysmith

    Lucysmith New Member

    Joined:
    Sep 23, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Advertising Services
    Location:
    uk
    Home Page:
    http://www.submitshop.com/
    goto w3schools.com, yu will find your answer there
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice