Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can Indy send email via IMAP?
#1
How can email be sent by IMAP through a server like Exchange which does not expose SMTP?
Reply
#2
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.
Reply
#3
Sorry, I mixed them up totally...
The question is about IMAP. Initial post and subject edited.
Reply
#4
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.
Reply
#5
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)