Jump to content

Sending email using PHP


poleposters

Recommended Posts

Hi,

 

I have a script that sends email using a php form.

 

It worked fine on my computer at home. I changed the php.ini to send mail using my ISPs SMTP which was [email protected]

 

However I'm trying to run the script from a computer at work. And the email is managed by a dedicated server in the office with the name "serverone". 

 

I'm not sure how to confugure my php.ini to send mail from this server.

 

Apparently the mail is an IMAP(I'm not sure what this means. But it might be of some significance.)

 

Any help is appreciated.

 

Cheers.

Link to comment
https://forums.phpfreaks.com/topic/155781-sending-email-using-php/
Share on other sites

IMAP is a mail reading server. SMTP is what you need, and chances are your work's network blocks port 25, which most mail servers use to send mail out of.

 

You may not be able to resolve this issue without an IT guy opening a port, which I doubt they would do.

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.