943,202 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1587
  • PHP RSS
Sep 1st, 2010
0

Using Google SMTP to send mail in PHP

Expand Post »
I am trying to send mail for "Tell a friend" link in my website. I am using Gmail's SMTP Connection settings as Mail() is not working properly for my web host.
In the code i am giving my username & password so send mail via my mailbox. But is it possible to change the sender's mail id?
I mean to say that the recipient would be seeing the person's mail id in the "from" field and not mine? is it possible?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
priyam1309 is offline Offline
11 posts
since May 2010
Sep 1st, 2010
0
Re: Using Google SMTP to send mail in PHP
With Gmail I had to specify the port. I am not near that code right now but I believe it was port 465.
Reputation Points: 27
Solved Threads: 27
Junior Poster in Training
svilla is offline Offline
88 posts
since Aug 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: learning PHP as a programming language
Next Thread in PHP Forum Timeline: $_FILES empty





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC