电子邮件发送5.1.1错误 [英] Email Sending 5.1.1 error

查看:383
本文介绍了电子邮件发送5.1.1错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dim mSmtpClient As New SmtpClient(S_Smtp, S_port)
            Dim mMailmessage As New MailMessage
 
            Try
                mSmtpClient.Credentials = New System.Net.NetworkCredential(S_User, S_pass)
               
                mMailmessage.ReplyToList.Add(New MailAddress(S_replyto))
              
                mMailmessage.From = New MailAddress(sender & "<" & S_User & ">")
                mMailmessage.Subject = subject
 
                Dim Overallmail As Integer = str.Rows.Count
               
 
                   
                    
   '-------------------start Sending---------------------------------------------------------
                    For i = 0 To str.Rows.Count - 1
 
   
                            Dim bodymail As String = body
                            email = str.Rows(i).Item(0).ToString
 
                    bodymail = bodymail.Replace(oldmail, email).Replace("[email]", email)
                    htmlView = System.Net.Mail.AlternateView.CreateAlternateViewFromString(bodymail, Nothing, "text/html")
 
                    'mSmtpClient.DeliveryMethod = SmtpDeliveryMethod.Network

                                mMailmessage.AlternateViews.Add(htmlView)
                                mMailmessage.IsBodyHtml = True
                                'execute too fast to see the thread working.  
                                mMailmessage.[To].Add(New MailAddress(email))
 
                                '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

                                mSmtpClient.Send(mMailmessage)
 
                                '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

                                mMailmessage.To.Clear()
                                mMailmessage.AlternateViews.Clear()
 
                             
 
                                Thread.Sleep(oXMLparams.GetParamValue("EmailEvery"))
 
                            End If









此方法返回错误:服务器响应为:5.1.1:收件人地址被拒绝:虚拟邮箱表中的用户未知



i认为我发送的电子邮件之一无效但其语法正确



我可以添加什么发送方法忽略这种邮件并将其设置为反弹而不是停止发送过程



感谢





This method is returning an error which is :The server response was: 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table

i think one of the emails that im sending to is not valid but its syntax is true

what could i add to the sending method to ignore this kind of mails and set it as bounce and not to stop the sending process

thanks

推荐答案

电子邮件发送 [ ^ ]


如果你看了解电子邮件错误 [ ^ ]

If you look at Understanding Email Errors[^]
Quote:

永久性问题



最常见的永久用户问题当然是用户未知 。您尝试邮寄的帐户不再存在 - 可能已关闭,或者您可能拼错了用户名或域名(请务必仔细检查电子邮件错误消息)。以下是用户未知消息的所有示例:

Permanent Problems


The most common permanent user problem is, of course, User Unknown. The account you are trying to mail no longer exists - it may have been shut down, or you may have misspelled the username or domain (make sure you check email error messages carefully). The following are all examples of User Unknown messages:

<user@earthlink.net>: host condor.prod.itd.earthlink.net said:
550 <user@earthlink.net>... User unknown

<user@hotmail.com>: host mail7.hotmail.com said:
550 Requested action not taken: mailbox unavailable

<user@apc.net>: host mail.apc.net said:
550 5.1.1 <user@apc.net> is not a valid mailbox

<user@riviera.org.uk>: Sorry, no mailbox here by that name. (#5.1.1)

<user@saccny.org>: host hhh.net said:
550 Invalid recipient <user@saccny.org>

The message that you sent was undeliverable to the following:
user@ashrosary.org (user not found)

如果您收到用户未知的退回,并且您已经检查以确保地址正确,那么您应该做的下一件事是尝试通过其他方式联系您尝试通过电子邮件发送的人。通常,人们不会意识到他们正在弹出电子邮件,直到有人告诉他们。另外,请勿删除退回邮件。它可以帮助用户及其ISP解决为什么他们更快地弹出邮件。

If you receive a user unknown bounce, and you have checked to make sure the address is correct, the next thing you should do is try to contact the person you were trying to email by other means. Frequently, people are not aware that they are bouncing email until someone else tells them. Also, do not delete the bounce message. It can help the user and their ISP resolve why they are bouncing mail more quickly.

如果您没有其他方式联系弹出邮件的人,您可能有一个死的电子邮件地址。如果是技术问题,请尝试再次邮寄它们(最好至少一天后),但在此之后,请停止使用该电子邮件地址。如果您运行邮件列表,并且其中一个订阅者开始使用此错误弹出邮件,请将其从列表中删除。

If you do not have other means to contact the person who is bouncing mail, you probably have a dead email address. Try mailing them one more time (preferably at least a day later) in case it was a technical problem, but after that, stop using that email address. If you run a mailing list, and one of your subscribers starts bouncing mail with this error, remove them from the list.

,那么你可能会认为它是收件人的错,而不是你的错。 :)



另请参阅原因:550 5.1.1:收件人地址被拒绝:虚拟邮箱表中的用户未知 [ ^ ]。

, then you would probably think that it recipient's fault, not your's. :)

Also take a look at reason: 550 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table[^].


这篇关于电子邮件发送5.1.1错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆