|All requests||>||Find how to connect to SMTP server||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Andrew Ladenko - 3 years ago (2017-01-05)
I need to connect to a SMTP mail server through IMAP but I don't know what are available ports and when I am connecting through standard ports such as 995, 993 there is broken connection on the server side.
This is Microsoft Exchange mail server. It seems I need to explore different connections, but I don't know how.
IMAP is not for sending messages, it is for receiving, despite PHP IMAP extension has a SMTP message delivery functions.
This MIME message package can compose and send message via SMTP connections or with just PHP regular mail function.
Typically Microsoft Exchange uses the port 465. You can use this example script to test send messages via SMTP to Microsoft Exchange with this package.
1. by Andrew Ladenko - 3 years ago (2017-01-05) Reply
Thank You, Ill try this... but main goal that I Want to achieve is to save all attachments from INBOX to disk folders.