我想在下面的代码中实现的是发送一个电子邮件地址,可以在我的数据库中找到每个电子邮件地址。我的问题是,当我点击我的发送按钮时,有错误说mail.Bcc.Add(MyVar.Text)行上的“The specified string is not in the form required for an e-mail address.”。 private void sendmail()
{
目前我通过以下方式的.forward过滤接收邮件: if $header_to: matches "(office|info)@domain.com" then
save Maildir/.office/
endif
if $header_to: matches "[email protected]" then
save Maildir/.whatever/
endif