avatar
How to send email in C program.# Unix - 噫吁兮,危乎高哉
s*l
1
Need to send emails to one or several recepients in C/C++
code on UNIX(HP).
The status of the emails need to be saved and can be checked
later. Any suggestions are welcome. THanks.
avatar
l*l
2
1)
ststem, execl, execlp, execle, execv, execvp
来调用 sendmail 或者 mail .
2)
要不你自己写连接 tcp/25
然后 send helo, vrfy, rcpt, data,
然后send message 就可以了.
其实你这样写的话就相当于写了一个简单的 mail 发送程序. 何苦呢?

【在 s*****l 的大作中提到】
: Need to send emails to one or several recepients in C/C++
: code on UNIX(HP).
: The status of the emails need to be saved and can be checked
: later. Any suggestions are welcome. THanks.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。