K
K
Kamikaze10242019-09-24 14:16:06
linux
Kamikaze1024, 2019-09-24 14:16:06

How to link exim with c++ program to send and receive smtp messages?

Good afternoon, colleagues! Can you please tell me how to link the Exim mail server with my C++ application?
The application must receive letters that Exim accepts and send smtp messages through SMTP and Exim.
The question is, where should I look to clarify the situation? I have no idea how to do it. It will work strictly in Linux.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Fedoseev, 2019-09-24
@martin74ua

receive letters - pop3\imap, has nothing to do with Exim. You need to implement pop3 or imap client functionality. And in the settings of your application, specify from which server you want to receive mail.
send mail - smtp. Implement the smtp client, specify the server address to send in the application settings.
And how exactly mail is implemented - it doesn’t matter to you

C
CityCat4, 2019-09-24
@CityCat4

I don't know how it is in Exim, but in sendmail it is done by libmilter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question