Jump to content

imap_mail's from address?


Arya

Recommended Posts

Hello

 

I was able to send email from my php script using the following code

 

imap_mail("[email protected]", "Subject", "This is the message");

 

But it seems that it uses the server's mail service to send email, is there anyway I can make it send email through gmail instead? and when I recieved the email, in the from section, it said "CGI-Mailer" Is there anyway to change the from address?

 

 

Thank You

Link to comment
https://forums.phpfreaks.com/topic/142841-imap_mails-from-address/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.