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?

With Gmail I had to specify the port. I am not near that code right now but I believe it was port 465.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.