Help!! Message Delivery confirmed,even though mail is not sent

I am working on email notifications Engine.
I am using java mail api 1.2 and smtp server to send email using .I am able to send emails when I use correct address .
Since I Also use Listeners to catch exceptions but
TransportEvent (Message Delivered) is triggered and no exceptions are being caught.
Even though I receive an undeliverable mail in my account on email server(I tried both firstClass and MS outlook Server).
Is there any setting that needs to be turned on to catch the exception.
Can anyone tell me what i am doing wrong??
//The messages received by using listeners
DEBUG SMTP SENT: MAIL FROM:<[email protected]>
DEBUG SMTP RCVD: 250 2.1.0 [email protected]...Sender OK
DEBUG SMTP SENT: RCPT TO:<jgangadhanterchangedigital.com>
DEBUG SMTP RCVD: 250 2.1.5 [email protected]
Verified Addresses
jgangadhanterchangedigital.com
DEBUG SMTP SENT: DATA
DEBUG SMTP RCVD: 354 Start mail input; end with <CRLF>.<CRLF>
DEBUG SMTP SENT:
DEBUG SMTP RCVD: 250 2.6.0 <3482471.1014307338246.JavaMail.jgangadharan@mob2ks2
Queued mail for delivery
TransportListener.messageDelivered().Valid Addresses:jgangadhanterchangedigital.com
DEBUG SMTP SENT: QUIT
ConnectionListener.closed()//*******************************************************************************************

I have not used Internet mail to much but DrClap is correct and everyone using Internet mail for the first time seems to struggle with this same problem.
I do not know if I have a solution but here are some ideas that may help you. If you have access to the account that receives the Undeliverable Mail message, you could search through the messages (using JavaMail and filters) and parse the Undeliverable Mail messages looking for ones you have sent (or set up a dummy "From" account so that it is likely only to have the Undeliverable Mail). Using some servers you could route the Undeliverable Mail to a special e-mail address that you search through.
Having said that: the problem is when to search, how long to search for a specific message, who to notify, and what action to take. This will have to be application specific but is probably NOT trivial.
Also, it is possible that a background or batch process could be used to find the Undeliverable Mail and populate a database or file that can be search at the application startup (or whatever).
I know this is not much but I hope it helps.
I will be curious to see if there is some other (standard or at least well understood) way of doing handling this problem. My current applications which use JavaMail do not have critical messages so I am ignoring this for now.

Similar Messages

  • When i send an imessage to another person with imessage, my husband also receives the message, even though it was not sent to him.   We have always been on the same itunes account and not had this problem, however, when i added the ipad, this started.

    When I send an imessage on my ipad to someone, my husband also gets the message, even though he was not selected as a receipient.  This just started when I got my ipad and sent a message for the first time.  As a side note, my daughter received an itouch and both my husband and i were getting all messages she sent, no matter which one of us they were sent to.  I turned her imessage off.  We have all of our devices under the same itunes account so that we can share all music and apps.  How can we get around this?  I do not want him receiving all imessages that I send, this will get very annoying to him.

    You can have a separate AppleID only for iMessage and keep using the other one for iTunes.
    Just change the AppleID used for iMessage in Settings > Messages > Receive At

  • HELP. iPod space = full, even though it's not.

    Hey. Yesterday my iPod Nano 4 GB (not really, it's only 3,62 GB) turned weird, so I clicked on Reset and I thought that it would be all normal again. ..No. First of all, 1/2 of my music disappeared (on my iPod) so I added all the missing music again. Now it says that 1,6 GB = music, and 2,1 GB = other stuff. I've only got the three basic games, and i've got no podcasts/movies or anything. I don't know what's the problem because I can't seem to find an answer here in the forums. It also says that I haven't got enough space. I'm apparently missing 0,06 GB..
    The second problem is that I added some new music but somehow, it won't show up in my iPod, even though it shows up in iTunes. This is really irritating. :/
    I got my iPod Nano on December 24th '08 (maybe '07, i'm not sure), in case anybody wonders.
    Thanks in advance.

    I had a similar issue with a 180 or 160 GB (or whatever the largest memory config was, I got rid of it so I forget) iPod. Turns out the drive went bad and as soon as it reached the 1/2 way point it would say "Memory Full" or give me some other error and crash. Worked for months after that as long as I was careful to not sync to fill more than 1/2 the drive.
    You may still have all your music on there but it may be curropted and unreadable so it's taking up space but the software can't address it or delete/sync to it, etc.
    Try a complete system reset first. If that fails you may have a failing unit.

  • My iPad has been hacked I cannot get into hotmail through mail also I get the apple message ,incorrect password even though this is correct what can I do

    My iPad has been hacked I cannot get into hotmail through mail also I get the apple message ,incorrect password even though this is correct what can I do

    From your description it sounds like your Hotmail account was compromised. Does anyone else know the password and could they have changed it?

  • I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone an i have internet and all other functions working on my computer

    I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone and i have internet and all other functions working on my computer

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents—the text, not a screenshot. I know the report is long. Please post all of it anyway.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Unable to connect mac OSX 10.4.11 to wireless network (virgin media) even though iPad, iPhone and laptop ok.  Get message 'password incorrect' even though it works with other devices.  Keep getting message connect to BT unrestricted access.

    Keep getting 'do I want to connect to BT unrestricted network' which I have never used before.  I can get my ISP details input but get message 'incorrect password' even though it works with 3 other devices. My network provider, Virgin Media, sent an engineer but he couldn't solve the problem - said network was all ok so problem must be with my iMac (OSX 10.4.11).  When I try to use internet I get BTWiFi is current wireless network - I've never used this! I've tried to change this and virgin media details are accepted, it's just the password stage that prevents me from connecting. I am not very knowledgeable with computers so I really need a step by step guide to solve this problem.  PLEASE HELP!!!

    Excuse me barging in on the thread, but I have a lot of experience with Telus, and roaming with my BlackBerry (currently a Z10).  In short, you've been fed some outdated info by the Telus rep. Telus has become very Android-centric, and it seems like a good number of Telus CSR's are still reading from a Legacy BlackBerry trouble-shooting guide.
    My Z10 is unlocked, and I periodically use an AT&T sim when traveling in the US.  I have never had to change an email setting to get full email function -- including the SMTP settings.  To put it simply, your device first connects to a network using credentials provided.  At most hotels, for instance, your device will scan for and pick up a WiFi network.  The hotel will tell you the WiFi network name and give you a password to use.  You simply enter the password when prompted, then you may have to agree to certain conditions.  That's it.
    Your email settings are just that.  Using whichever network to which you are connected, the user name and password give you access.  The settings coincide with the email provider's server settings.  These don't typically change with the location from which you are connecting.
    I'd suggest you take a look at this very helpful email settings tool provided by BlackBerry, if you are having difficulty:  http://helpblog.blackberry.com/2013/03/email-account-validation-tool/
    It helps you determine the possible settings for connecting to your email provider.  Different providers offer different connection options, sometimes more than one.  Opinions vary, but my preference in descending order is:  ActiveSync, IMAP, then POP if required.  ActiveSync (aka EAS) and IMAP will offer 2-way sync.
    Take a look at the tool and pop a message back here if you have any questions.  Good luck. ~ecm

  • Recieving messages from this topic even though I am not Subscribed !

    Even though I am not subscribed to this topic, this is sending me 50 messages a day. How do I get rid of it?
    I have already checked my subscription settings.
    If anyone from apple is reading this, I need this resolved please.

    You may be subscribed in the larger category. I'm sure you have checked the "my subscriptions" to the right in this discussion forum. I'm new to this forum and just getting used to it, so I'm not sure if this will help. You would see a "binoculars" avatar next to your subscribed topics. Plus, in the "my subscriptions" page, check the two top choices. You may have "yes" checked for topics that you create AND for topics that you respond to. This will create susbscriptions of which you may not be aware. Again, just some ideas. I"m a "newbie." BF

  • Emails sent to me are sometime returned to the sender with the message "Inbox full" even though I have maybe less than 100 emails in the Inbox and I regularly compact them. How can I increase the storage space?

    Question
    Emails sent to me are sometime returned to the sender with the message "Inbox full" even though I have maybe less than 100 emails in the Inbox and I regularly compact them. I delete emails from the Inbox and the Sent and Trash boxes to overcome this. How can I increase the storage space to stop this happening?

    Hi terrybohle1938,
    Firefox is a web browser. It provides access to online content. Things like your email are handled by the content provider. Who is your email provider? You'll have better luck consulting their documentation.
    That being said, deleting only email is a great way to free up space. Another option would be to purchase a "Premium" account if your email provider offers this service. Many times more storage space is offered as part of paid subscription.
    Hopefully this helps!

  • When following your instructions on setting a blank new tab, I get and error message "invalid url", even though the sting entered in the config is as you state.

    I would like a blank new tab to open, but have followed the help guidance to modify the about:config.
    However, for all strings shown, I get a consistent error message "invalid url", even though the string has been copied correctly.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • In mail attachments are not deleted even though mail is deleted

    In mail attachments are not deleted even though mail is deleted

    Check on your server to see what maiul options are selected.  If your mail account is set to "download all attachments automatically", that may be an option you want to de-select.

  • Trying to purchase through app store on my iphone 4s, keep getting message AppID disabled, even though I have recovered it and changed it. any ideas? I cant purchase apps.

    trying to purchase through app store on my iphone 4s, keep getting message AppID disabled, even though I have recovered it and changed it. any ideas? I cant purchase apps.

    Contact itunes support

  • I cannot restore aback up from my computer after a softwared update. i kep getting an error message saying the phoneis disconnected even though it it not.

    cannot restore aback up from my computer after a softwared update. i kep getting an error message saying the phoneis disconnected even though it it not.

    If you're not a developer then you really should not have upgraded.
    I'm unsure how you can fix this as you have already done a back-up on iOS 7 and apple don't support firmware downgrades.

  • I have an ios 6.1.6 ipod 4 and the imessage app keeps saying that the messages wont send even though im on wifi ive tried resetting the network settings and signed in and out is it because of the ios that the app isnt working?

    I have an ios 6.1.6 ipod 4 and the imessage app keeps saying that the messages wont send even though im on wifi ive tried resetting the network settings and signed in and out is it because of the ios that the app isnt working?

    Hi Marius,
    If you are having an issue with being unable to send from the Messages application on your iPod touch, I would suggest that you troubleshoot using the steps in this article - 
    If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support
    Thanks for using Apple Support Communities.
    Sincerely,
    Brett L 

  • HT204150 I have just set up icloud and all my contacts are duplicated from Address Book! My new iPhone is also showing duplicate contacts even though they are not duplicated in my address book on my computer. Please can you help

    I have just set up icloud and all my contacts are duplicated from Address Book! My new iPhone is also showing duplicate contacts even though they are not duplicated in my address book on my computer. Please can you help?

    Also, what are the source of your contacts? are they created on the phone, or you synced from yahoo/hotmail etc.
    If thats the case, the circular arrow wont be visible but instead show "groups"
    Contacts from different accounts are not synced to iCloud.

  • TS4532 My iPhone V will not connect to a Microsoft Exchange server. It says that the User Name or Password are incorrect even though they're not and I can log on directly to Exchange using the web browser. The connection worked until IOS 6.1.2 was Install

    My iPhone V will not connect to a Microsoft Exchange server. It says that the User Name or Password are incorrect even though they're not and I can log on directly to Exchange with the same parameters using the web browser.
    I bought the phone when it came out last October. The connection did not work at first, then started without warning in December. It worked perfectly for 2 months then stopped again when IOS 6.1.2 was Installed.
    Help please!

    I have forwarded these questions about the version of Exchange server that is being used and whether Microsoft host the mai themselves to the IT Dept but I will not get a reply from them until tomorrow.
    In the meantime I have also tried:
    Deleting and re-creating the account AGAIN!
    And re-setting the phone (recommended as a solution to a similar problem with an iPad in another forum.
    But please remember that:
    The phone would not connect for 2 months after I bought it
    Then started working unexpectedly in December
    Then stopped working again when IOS 6.1.2. was installed
    Also why am I the only person affected by this when colleagues with iPhone 3s and 4s who use the same mail system are not (I am still trying to find one with an iPhone V to see if their's works).
    Like I said I think that there must be a fault, either with my own phone or with iPhone Vs in general.

Maybe you are looking for

  • How do I get bootcamp back after installing windows 8?

    Hi, I have to admit, I messed up .. big time  :-( I had a nice working setup with OS X and Windows 7 and bootcamp. Then I got a disc with windows 8. I installed it, and forgot to use my head!! It was NOT a windows 8 update dics, so it installed windo

  • Invalid number error with Form on table page

    We used the "Form on Table..." wizard to create a simple page to update the SCOTT.EMP table. When we submit the page we get the ORA-01722: invalid number error. When I view the data in the WWV_FLOW_DATA view in the FLOWS_010500 schema, I can see all

  • Using an Apple gift card online

    I've looked online for an answer, but only found other people asking the same question: Why can Canadian Apple Store gift cards not be used online? They have to be used in a brick & mortar store.  This seems very strange to me. Even stranger is the f

  • Runtime Error : ASSERTION_FAILED while clicking on shop button to create SC

    Hi Experts. We are using SRM 7.0 When i am clicking on shop button to create shopping cart getting RUNTIME ERROR : ASSERTION_FAILED Termination occurred in the ABAP program "/SAPSRM/CL_CH_WD_GAF_FACTORY==CP" - in "SET_GAF_PROVIDER". The main program

  • Paypal Payment

    i've tried to purchase CC with Student & Teacher plans, but when it came to payment section i didn't have a choice to pay via paypal, i just prefer to pay with it... is there any possibility to pay with paypal or it must be the way it is ?