How to distingush delivery failure notices & bad email addresses

Hello, All:
Is there a standard for the format(content, subject, headers, etc) of delivery failure notices?
What would you do if you want to get the bad email address (Undelivery address) from the delivery failure notice? Is there a systematic way to get the bad email address instead of earching for the address string in the email?
Thanks in advance!

Hi, the exception SendFailedException only happens when any of the recipient addresses is detected to be invalid by the "Transport" during message submission. It is not exactly the same as the user email does not exists.
I have tried the SendFailedException and functions you suggested. The transport does not give this exception even though the recipent's address is not valid :(..
I think the JavaMail code passes the email message to the SMTP server, the SMTP deals with the actually sending. Therefore, JavaMail code can not get its hand on the invalid email addresses.
Thanks!

Similar Messages

  • I'm getting mail delivery failure notifications quoting email addresses I don't recognize. Is someone using my server identity?

    Hi. I've been getting several email delivery failure notifications recently. I don't recognize the email addresses quoted. Is it possible that someone has hacked into my mail account?

    Either that, or someone is forging your reply address on mail that wasn't sent from your account at all. To tell the difference, you would have to log into your mail account on the Web and check for unusual activity.

  • Delivery failure notice in mail .

    I had a google mail account , now everytime i send an email i get a delivery failure notice because mail is sending mail to the google account which i deleted , how do i get rid of this ? Thanks .

    I want to make sure..... is the problem with you receiving email, or sending it, or both? Also, have you tried these steps?

  • Delivery Failure Notice

    When I send an email with an attachment I just all of a sudden started receiving a Delivery Failure Notice. Have sent emails just like these numerous times with no problem. I can send them an email that only has text but every time I try to send 1 with
    an attachment I get this message saying Delivery Failure Notice. 

    Roxie,
    an email that you send goes from your computer, to your email service, to your recipient's email service, to your recipient.  The message could be rejected either by your email server or by the recipient's email server.
    It is quite possible that "all of the sudden" this happened because you're now emailing a person who has a particluar email service which doesn't allow larger attachments.  
    I highly recommend using a cloud storage service like skydrive or dropbox.  Instead of emailing the attachment, you can post the file you want to send them to your cloud storage service and then send them a link so they can download it themselves.  Check
    out www.skydrive.com for more info.
    Thanks,
    MIke
    Below is standard text I post for off topic posts:
    Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.  This is a standard response I’ve written up in advance to help many people (thousands, really.)
    who post their question in this forum in error, but please don’t ignore it.  The links I share below I’ve collected to help you get right where you need to go with your issue.
    For technical issues with Microsoft products that you would run into as an
    end user of those products, one great source of info and help is
    http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums are also here:
    http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
    For Technical issues with Microsoft products that you might have as an
    IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
    http://social.technet.microsoft.com/forums/en-us, and search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at
    http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
    http://community.dynamics.com/
    If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize!  Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots
    of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you’re seeing. 
    If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have a forum just for you!  It’s called the Where is the forum for…? forum and it’s here:
    http://social.msdn.microsoft.com/forums/en-us/whatforum/
    Moving to off topic. 
    Thanks, Mike
    MSDN and TechNet Subscriptions Support <br/> Read the Subscriptions <a href="http://blogs.msdn.com/msdnsubscriptions">Blog! </a>

  • How do I get rid of a bad email address that keeps popping up

    I have a bad email address that keeps popping up as I type in addresses . I've tried contacts, and I can't find it. How do I get rid of it?

    Thanks for the answer......I don't like it....not your fault.   I do like your cat!

  • Why do senders receive a delivery failure notice although messages are being received?

    Why do senders receive a delivery failure notice although messages are being received?

    What you have there is either a jailbroken unit with some crazy custom UI or an eastern knockoff. Give us some photos of the ipad itself, mainly the back and some experts can help.
    If you plug it into iTunes does iTunes even acknowledge that an ipad is connected? If it does then try a restore.
    Failing that, head down to an apple store and see what they can do for you.

  • Mail delivery failure messages for email I have not sent to contacts I do not know.

    I am receiving Mail delivery failure messages for emails I have not sent; they are addressed to contacts I've never heard of, many different. Apparently, this is some kind of spam but I don't know what to do about it.

    There is nothing you can do about it. It will stop at some point.
    http://en.wikipedia.org/wiki/Backscatter_%28email%29

  • MSEXchange not rejecting bad email addresses

    I have written a specialized email application In ACCES 2010 for my department. At first I couldn't send email outside our domain so the server folks turned on relay and gave me a static IP address. However, now the mail server does not reject bad email
    addresses unless I leave off everything to the right of the @ sign. Example my real address is
    [email protected]. But if I change something in the address, such as
    [email protected] I don't get an error message back from the mail server, error handling is ignored and it counts as being sent.  This is true for emails going both inside and outside the domain. 
    It seems to me that something needs to be configured on the host, or I need to do something in my ap. (I'm no expert here.)  The Send part of the code is an ACCESS 2010 function. (Mail server is MSExchange 2010.) If nothing is wrong it works great.
    Public Sub SendAMessage(strFrom As String, strTo As String, _
        strSubject As String, strTextBody As String, _
         Optional strAttachDoc As String, Optional strCC As String, _
        Optional strBcc As String)
    On Error GoTo ErrorHandler
    Set objMessage = New CDO.Message
    With objMessage
        .From = strFrom
        .To = strTo
        Debug.Print strTo
        If Len(Trim$(strCC)) > 0 Then
            .CC = strCC
        End If
        If Len(strBcc) > 0 Then
            .BCC = strBcc
        End If
        .Subject = strSubject
        .TextBody = strTextBody
        If Len(strAttachDoc) > 0 Then
            .AddAttachment strAttachDoc
        End If
        With .Configuration.Fields
            .Item(CDO.cdoSMTPServer) = "mymail"
            .Item(CDO.cdoSMTPServerPort) = xx
            .Item(CDO.cdoSendUsingMethod) = CDO.cdoSendUsingPort
            .Item(cdoSMTPConnectionTimeout) = xx
            .Update
        End With
        .Send
    End With
    Set objMessage = Nothing
    Dim CurDateTime As DependencyInfo
    CDateTime = Now()
    Dim AccountNo As String
    AccountNo = GBL_Master_Id
    If GBL_PostMailSwitch = True Then   'Test if in management and skip the next three statements
    Dim SentSql As String
    'DoCmd.SetWarnings False
    'SentSql = "INSERT INTO SentEmailTbl(Account_Number, Event, DateSent) Values('" & GBL_Master_Id & "', '" & GBL_Event & "', # " & Now() & " #)"
    'DoCmd.RunSQL SentSql
    'DoCmd.SetWarnings True
    End If
    Exit Sub
    ErrorHandler:
        Dim BadEmSql As String
        Dim emVal As String
         'MsgBox "in error Handler" & " " & Err.Number
         'If Err.Number = -2147220977 Or -2147220980 Then
         'MsgBox "Bad email"
         DoCmd.SetWarnings False
         BadEmSql = "INSERT INTO EmErrorsTbl(AccountNo, EmailAddress, ErrNo, ErrMsg, ErrDate) VALUES('" & GBL_Master_Id & "', '" & strTo & "',  '" & Err.Number & "', '" &
    Err.Description & "','" & GBL_DateSent & "')"
         GBL_Rejected = GBL_Rejected + 1
         Forms!EmailForm!emRejected = GBL_Rejected
         DoCmd.RunSQL BadEmSql
         DoCmd.SetWarnings True
        'End If
          Resume Next
    End Sub
    Thanks in advance

    Hi,
    Generally, when you send an email to an address that doesn't exist via OWA or Outlook, you will receive a NDR explaining that delivery has failed.
    Please disable the app temporarily and check the result. If the issue disappears, there is something wrong with the app code. Actually, we have a dedicated support team regarding the Microsoft Office for Developers. I recommend you ask your question on our
    Microsoft Office for Developers forum which is staffed by more experts specializing in this kind of problems. For your convenience:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=accessdev
    Thanks for your understanding.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • How do I create a new icloud email address for my apple id?

    Hi there
    How do I create a new icloud email address for my apple id? My original email address is associated with my previous employers.
    When I send email from my Macbook, it seems as if I still work there, which is a problem.
    I would like to use the email address that I created for my iPad.
    When I login with my appleid (for my macbook) I keep getting the old company one, not the new one.
    Is there any way of resolving this? I
    Thanks
    Kelvin

    Welcome to the Apple Community.
    Providing you aren't trying to change you Apple iCloud email address you can make changes at My Apple ID

  • I have had to semi-reset and reinstall my hp6500a plus. How do I keep the same eprint email address?

    I have had a network blowup and a new computer and was told to do a semi-reset and full install on my Inkjet hp6500a plus. How do I keep the same eprint email address which I have given out to a number of people? When I did the install I seem to have been re-assigned a new @hpprint address and can't find how to change it back.

    Hi,
    I affraid you will not be able to use the same address.
    Due to security reasons any removed ePrint address (due to Web Services removal, product reset or product replacement) is blocked for any user for 6 months period.
    You may select a difference customized address by following the steps below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02940150&cc=us&dlc=en&lc=en
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How do I delete my iCloud home email address account?

    How do I delete my iCloud home email address account?

    If you want to migrate your data to a new iCloud account, start by saving any photo stream photos that you want to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud that you want to keep, you'll need to open each of your notes and email them to yourself so you can later copy and paste the text into new notes created in your new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud), provide the password to turn off Find My iDevice and choose Keep on My iDevice when prompted.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.

  • How can I change my apple ID email address when I can't access old email (It's an old work address I can't access anymore)

    How can I change my apple ID email address when I can't access old email (It's an old work address I can't access anymore)? Whenever I try it always wants to send things to my email address to confirm. I have a new apple ID and a new email address, I want to use this now for my iphone and my macbook air but I can't and I'v

    Thanks Lawrence. I've spent over 3 hours on the phone/chatting to online support and none of it seemed to help as it all revolved around resetting emails etc but can't do any of it without my access to my old email. Now my phone won't take cloud because they advised to set up new apple ID and use that, but can't sign out of old one completely. Also doesn't help because my phone and laptop are set up on the old one. Thanks for the help.

  • How do I change my iCloud recovery email address

    How do I change my iCloud recovery email address.  I don't see it as an option in iCloud preferences or anywhere for that matter. 

    How do I change my iCloud recovery email address.
    You create a recovery mail address by signing into MyAppleID - use this link:  https://appleid.apple.com/

  • How can I change my apple ID email address?

    How can I change my apple ID email address?

    I just did follow Varjak's instruction, but it refused. I was asked to enter my Apple ID's email address which unfortunately is the same as my Apple ID. I created two different passwords for each Apple ID n primary email address when I set up my I tune account in the first place, however.
    I do remember my Apple ID password because I have used it every time I installed new apps, but I completely forgot my password for the primary email address because I've never used it at all! I have another email address which I actively use it for all my email. I want to change my primary email address which happened to be my Apple ID as well to the one I actively use.
    Because of the explained problem, I can't log in to Icloud as I have been asked to verify by following the instruction sent to my primary email address.
    I would really appreciate it if any one can help me solve this problem.
    Thank you all.
    Suzy

  • How do I change just my iCloud email address not my apple ID?

    How do I change just my iCloud email address not my apple ID?

    You CANNOT change your iCloud email address once it is created and associated to you Apple Id (usually it is another email address).  First time you activate iCloud on your device and turn on email setting, you are prompted to create an iCloud email account and after choosing one that is available you are CLEARLY warned that ONCE CREATED YOU iCLOUD EMAIL IT CANNOT BE CHANGED!!!
    Fig.1 Warning if desired iCloud email      Fig. 2. Warning about creating new iCloud
    address is not available                         email which will be associated to you Apple Id
    You have two choices: a) create an alias for that account after you sign in icloud.com using either your apple id or your new created icloud email account (that's what I did) or b) create a new Apple Id (with all the pain it involves)
    I typed an incorrect iCloud email address and was linked to my Apple Id and now I have to live with this forever!?
    The workaround was to create an alias, but I have the feeling that something is wrong with my Apple Id
    All of us might make a petition to apple to allow us to change the 'main' icloud email address.  What if I misspelled it!? How difficult can it be? 
    I hope this be helpful and answer your question.
    P.S. In the same way... once you create your Apple Support Communities USERNAME it cannot be changed too!

Maybe you are looking for

  • Problems after iOS 4.2 upgrade.

    Hello everyone, hope you are all well. Could use some help to restore my 2G Touch after upgrading it to 4.2 the other day. During the upgrade, all it`s music and all the app`s were lost, but after re-synching only the music and the original factory a

  • IPod touch 4G FaceTime/Message won't work

    I have been trying for a while it get my son's iPod 4G to work with FaceTime but have had problems. I click FaceTime, hit the button that says "get started" Sign in and get to, "people will call you using this email address" I click "next", it says "

  • Problems for encoding videos

    Hello, I have problems with videos. I have 2 videos (face and profil) in high definition - HD, which have not the same duration and the same size. They are cut in final Cut Express HD. After cutting, they have the same duration (for example : 20'10)

  • Windows 7 not joining to domain with SCCM OSD Task sequence

    Iam having trouble with Windows 7 deployment through SCCM, where the systems dont get joined to the domain if the system name is not already present in the AD. If I have the system name already in AD it works fine also Iam able to join the system to

  • Runtime execute command with arguments

    hi i need to execute the following command with arguments in java. this is how i would do it in cmd C:\Users\name\File\root.exe -a192.168.1.0 -wpassword -p11 -cON   where 192.168.1.0 is the ipaddress and i have it in my java program as a string.simil