Atozed Forums
Can Indy send email via IMAP? - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Indy (https://www.atozed.com/forums/forum-8.html)
+--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html)
+--- Thread: Can Indy send email via IMAP? (/thread-514.html)



Can Indy send email via IMAP? - BosseB - 07-20-2018

How can email be sent by IMAP through a server like Exchange which does not expose SMTP?


RE: Can Indy send email via MAPI? - kudzu - 07-20-2018

Not with Indy. SMTP is the mail protocol of the internet for sending mail.

MAPI is not an internet protocol. It is a local protocol which relies on local binaries and services. While remote options exist for it, it is generally not a network protocol itself and it is not an internet standard with an RFC. Thus, Indy does not support MAPI.

Note, MAPI and IMAP are both mail protocols but otherwise have nothing to do with each other.

This is an over simplification, but MAPI is like calling a Windows Library. SMTP/IMAP/POP3 are all network protocols that use TCP connections.


RE: Can Indy send email via MAPI? - BosseB - 07-20-2018

Sorry, I mixed them up totally...
The question is about IMAP. Initial post and subject edited.


RE: Can Indy send email via IMAP? - kudzu - 07-21-2018

IMAP, like POP3, does not provide for sending mail. They are for retrieving mail only.

SMTP is the protocol for sending mail. IMAP and POP3 are the protocols for receiving mail.


RE: Can Indy send email via IMAP? - BosseB - 07-21-2018

OK, I thought as much. Trying to help a guy who is for some unknown reason using command line calls to a mail client on the PC his software runs. Pretty strange....
I told him to go for Indy10 and TiDSmtp.