如何使用OpenPOP转发或回复电子邮件 [英] How to Forward or reply the email by using OpenPOP
问题描述
我在C#中使用OpenPOP库发送/检索/转发电子邮件.
作为我的计划的一部分,我想将检测到的原始电子邮件转发给收件人.并且还需要发送新消息.
我能够检索电子邮件标题信息,例如发件人/收件人/日期/主题".
Pop3Message _message;
_message = _pop3.GetMessage(1);
字符串abc = _message.Headers.Subject;
这是我用来检索电子邮件主题的方法.
只是想知道如何使用此库转发/发送电子邮件?
请协助~~
谢谢
最好的问候,
Jennifer
Hi,
I used OpenPOP library in C# to Send/retrieve/forward Email.
As part of my program, i would like to forward the detected original email to the recipient. And also need to send the new message.
I able to retrieve the email header information like From/To/Date/Subject.
Pop3Message _message;
_message = _pop3.GetMessage(1);
string abc = _message.Headers.Subject;
This is the method i used to retrieve the email subject.
Just wonder, how to forward/send the email by using this library?
Kindly assist~~
Thank You
Best Regards,
Jennifer
推荐答案
您可以使用内置的Smtp邮件类发送邮件,而无需使用外部库.
You can use the built in Smtp mail classes to send your mail on, there''s no need to use an external library.
这篇关于如何使用OpenPOP转发或回复电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!