简体   繁体   English

退回邮件错误阅读Java

[英]Bounce mail error Read Java

I am building a java application for a company to send mass mail. 我正在为公司发送大量邮件的Java应用程序。 Please help me hoe I could red the Bounce mail error code. 请帮助我,我可以将退回邮件错误代码涂成红色。 Actually I want to define Hard bounce and Soft Bounce. 实际上,我想定义“硬弹跳”和“软弹跳”。 Below is Bounce Code, Bounce Type and Bounce Description. 以下是弹跳代码,弹跳类型和弹跳描述。

code    Type    Description

5.0.0   Hard    Address does not exist
5.1.0   Hard    Other address status
5.1.1   Hard    Bad destination mailbox address
5.1.2   Hard    Bad destination system address
5.1.3   Hard    Bad destination mailbox address syntax
5.1.4   Hard    Destination mailbox address ambiguous
5.1.5   Hard    Destination mailbox address valid
5.1.6   Hard    Mailbox has moved
5.1.7   Hard    Bad sender\’s mailbox address syntax
5.1.8   Hard    Bad sender’s system address
5.2.0   Soft    Other or undefined mailbox status
5.2.1   Soft    Mailbox disabled, not accepting messages
5.2.2   Soft    Mailbox full
5.2.3   Hard    Message length exceeds administrative limit.
5.2.4   Hard    Mailing list expansion problem
5.3.0   Hard    Other or undefined mail system status
5.3.1   Soft    Mail system full
5.3.2   Hard    System not accepting network messages
5.3.3   Hard    System not capable of selected features
5.3.4   Hard    Message too big for system
5.4.0   Hard    Other or undefined network or routing status
5.4.1   Hard    No answer from host
5.4.2   Hard    Bad connection
5.4.3   Hard    Routing server failure
5.4.4   Hard    Unable to route
5.4.5   Soft    Network congestion
5.4.6   Hard    Routing loop detected
5.4.7   Hard    Delivery time expired
5.5.0   Hard    Other or undefined protocol status
5.5.1   Hard    Invalid command
5.5.2   Hard    Syntax error
5.5.3   Soft    Too many recipients
5.5.4   Hard    Invalid command arguments
5.5.5   Hard    Wrong protocol version
5.6.0   Hard    Other or undefined media error
5.6.1   Hard    Media not supported
5.6.2   Hard    Conversion required and prohibited
5.6.3   Hard    Conversion required but not supported
5.6.4   Hard    Conversion with loss performed
5.6.5   Hard    Conversion failed
5.7.0   Hard    Other or undefined security status
5.7.1   Hard    Delivery not authorized, message refused
5.7.2   Hard    Mailing list expansion prohibited
5.7.3   Hard    Security conversion required but not possible
5.7.4   Hard    Security features not supported
5.7.5   Hard    Cryptographic failure
5.7.6   Hard    Cryptographic algorithm not supported
5.7.7   Hard    Message integrity failure
9.1.1   Hard    Hard bounce with no bounce code found. It could be an invalid email or rejected email from your mail server (such as from a sending limit).

Please share me your approaches. 请与我分享您的方法。

Thanks in advance. 提前致谢。

This is probably the sort of thing you're after: Jack's Java Code Depot - detect bounced emails part 2 这可能是您追求的事情: 杰克的Java代码仓库-检测被退回的电子邮件,第2部分

I haven't tried it myself but I found it while looking for something along the same lines as what you're trying to do. 我自己没有尝试过,但在寻找与您尝试做的事情相同的东西时发现了它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM