Bursting and DeliveryManager - How to identify wrong email address

Hi,
I have created a BI report (based on Data Template)
Report generates the XML and then in the afterReport trigger, I am calling Bursting Program to send emails to the customers.
Everything works fine.
Problem is:
If, there is any wrong email address, then we are NOT receiving any notification and undeliverable message.
This happens for Bursting Request (program).
I have also written a sample Java Code using "DeliveryManager" XDO class, to check whether it thorws the exception in case of wrong email ID or incorrect domain.
But it also completes successfully and without any error. (no email .... obviuosly)
import oracle.apps.xdo.delivery.*;
public class EmailTest
public static void main(String args[])
try{
DeliveryManager dm = new DeliveryManager();
DeliveryRequest req = dm.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
req.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "test mail");
req.addProperty(DeliveryPropertyDefinitions.SMTP_HOST, "appsrelay.xxx.com");
req.addProperty(DeliveryPropertyDefinitions.SMTP_FROM, "[email protected]");
req.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS, "[email protected]"); //WRONG EMAIL ADDRESS HERE
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE, "application/pdf");
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,"test.pdf");
req.setDocument("/home/appldev2/WYSEINVPRINTN2_17402678_1.PDF");
req.submit();
req.close();
catch(Exception e)
System.out.println("Exception at: "+e);
Then, I tried writing a send mail program using JAVAX EMAIL APIS.
import java.util.*;
import java.io.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class EmailTest2
public static void main(String args[])
String to = "[email protected]"; //WRONG EMAIL ADDRESS HERE
String cc = "[email protected]";
String bcc = "[email protected]";
String from = "[email protected]";
// SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
String host = "appsrelay.xxx.com";
String Subject="";
Properties props = new Properties();
// Get a session
Session session = Session.getInstance(props);
try{
Transport bus = session.getTransport("smtp");
bus.connect();
Message msg = new MimeMessage(session);
Address fromAddress = new InternetAddress(from);
msg.setFrom(fromAddress);
Address[] toAddresses = InternetAddress.parse(to);
msg.setRecipients
(Message.RecipientType.TO,toAddresses);
Address[] ccAddresses = InternetAddress.parse(cc);
msg.setRecipients
(Message.RecipientType.CC,ccAddresses);
Address[] bccAddresses = InternetAddress.parse(bcc);
msg.setRecipients
(Message.RecipientType.BCC,bccAddresses);
Subject = "test emails";
msg.setSubject(Subject);
msg.setSentDate(new Date());
MimeBodyPart p1 = new MimeBodyPart();
p1.setText(" \n" + "Please find attached the SPQ approval letter \n\n" + "Regards, \n");
Multipart mp = new MimeMultipart();
mp.addBodyPart(p1);
msg.setContent(mp);
msg.saveChanges();
bus.sendMessage(msg, toAddresses);
bus.sendMessage(msg, ccAddresses);
bus.close();
catch(Exception e)
System.out.println("Exception at: "+e);
This, program throws Exception when there is any invalid character or wrong domain specified.
"class javax.mail.SendFailedException: 553 5.1.2 <[email protected]>... Invalid host name"
Please help me to get some clue about how we can track the invalid email address and also, undeliverable emails in Bursting or XDO DeliveryManager classes.
Thanks a Lot,
-- Ejaz
Edited by: ESyd on Aug 9, 2010 1:14 AM

Hi,
Actually delivery failure notification is nothing to do with bursting or Delivery API, For me it deliver the notification if delivery address is incorrect (not exists), though the bursting engine does not through any error for invalid email format.
If you really looking for the solution, as a workaround :
I would use the file delivery
Implement the Bursting Status Listener
within Before Document Delivery, implement the customize delivery solution by using javax.mail logic to email the report.
For most of us, It is too much and better to raise a SR, but you already implemented the other part, so just combine these two to get what you want.

Similar Messages

  • I am trying to use my account to purchase but i forget my security questions and also i gave the wrong email address. What can i do?

    i am trying to use my account to purchase but i forget my security questions and also i gave the wrong email address. What can i do?

    Apple ID security issues -
    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    You have to clear saved password for this page:
    # Open you login page (where you have to enter username and password).
    # Right click on page and select '''Page Info''' form context menu.
    # On last tab ('''Security''') there is '''View saved passwords''' button, click it and delete all saved passwords for this page.
    # Also clear all related cookies (just in case) there is button for this next to first one.

  • HT5622 I changed my Apple password and I get the information at the wrong email address.  The correct email shows in my Apple account.  Why is the mail going to the wrong email? How do I fix it?

    I changed my Apple password and I get the information back at the wrong email address.  My email address is right under my Apple ID.  How do I get this corrected?

    AWDunams wrote:
    Okay so I associate the e-mail address as the apple ID and that seems to be a wrong assumption.  I did go to my Apple ID and changes the e-mail address and the password but for the same and only Apple account I have ...
    That is good.  In that case, your one and only account has not changed, just the login credentials you use for it.  All your previous purchases will remain associated with that account, and the new login.
    In essence, an AppleID is an email, but it has two parts.  One is the login email address and password everyone traditionally thinks of as an AppleID.  But that in turn is linked to an account with Apple.  As long as you use the manage Apple ID portal to just change the email address and/or password for your exisiting AppleID, then the internal account tracks along with those changes as well.
    However, on your iOS devices, you will need to log out and then log back in with the new login credentials:
    settings -> iTunes & App Stores - tap your AppleID, and choose log out.  Then log back in with the new email address and new password.

  • My 4S died and I was given a new one.  Now I can't get it to sync with my old info. I think I put the wrong email address for my apple ID, how can I change it?

    My 4S died this week and I was told it could not be repaired, so I was issued a new one.  During set up I could not remember my password, so set up a new one.  I think I used the wrong email address, not sure.  At any rate, now my phone and pad don't sync.  How can I get this corrected?  Thanks!

    It looks like your printer isn't on the list of air print enabled printers. It'll still work, you just need to do some tweaking.
    You can see if samsung has any apps to enable printing.
    or
    You can look into a third party app like Print n Share or Print Central.
    Then you can print from your iPad.

  • My wife collected my online ordered iphone 6 when i was away and she entered a wrong email address as the Apple ID .How can i change it now since the IClould pops up asking for password and i can't provide it so could not even delet it .Helps !

    A wrong email address was entered at the setting up of the new iphone 6 and how can I change it ?

    The problem is she entered an email address she thought might be mine ,but actually used by someone else .She said no password was set up .My understanding is an email must have been sent to that address and he or she can set up the password and download .And now I set up an new ID under the ICloud but still the wrong email address still appear as a default one .I tried to delete the set up but I was asked for the password which we don't have .
    Any good idea ?

  • Got a iphone set the apple id n it was the wrong email address now i can't verifie it how do i delete and start over

    got a iphone set the apple id n it was the wrong email address now i can't verifie it how do i delete and start over

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    When you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.

  • Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    elhoseny wrote:
    ... Instructions for activating iCloud gives wrong email address to verify account..
    The Apple ID and Password that was Originally used to Activate the iDevice is required
    If you do not have that information you will not be able to use the Device.
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • HT4061 I have an iphone 4 and cannot access my email account-it was set up with the wrong email address. How do I resolve this issue?

    i have an i phone 4 and it has been set up with the wrong email address. How can I rest the email address?

    Did you purchase or download the apps with your old ID?  Apps are tied to the ID that is was purchased from.
    If it is a new app you bought with your new ID, you can go into settings - appstore- apple id and then log out.

  • When i try to download a program, it open Creative Cloud, and it show me a wrong email adress. That's not one of mine. How can i change this email adress?

    When i try to download a program, it open Creative Cloud, and it show me a wrong email adress. That's not one of mine. How can i change this email adress?

    Hi,
    Delete opm.db from the location given below(Please close the CC Desktop App before these steps).
    For Mac:
    ~/Library/Application Support/Adobe/OOBE/opm.db. Launch CCD and try to sign in.
    Enable hidden user Library: Access hidden user library files | Mac OS 10.7 and later.
    For Windows:
    [System drive]:\Users\[user name]\AppData\Local\Adobe\OOBE
    Thanks,
    Saurabh Rai

  • I'm embarrassed to ask this: when I click to initiate a new email message in the "From" box it automatically chooses the wrong email address (I have three but use one mainly). How can I get the right choice to appear automatically?

    I'm embarassed to ask this: when I click on the new mail icon to write a new email message, in the box "FROM" appears the wrong email address: I have three but mainly use one. How can I correct this so that the right email address appears in the "FROM" box?

    I assume this is Apple Mail. Try this:
    Preferences > Accounts > your-first-account
    Select Outgoing Mail Server of account/name you wish to use and check Use only this server
    Repeat for other accounts.

  • My Apple ID is registered in wrong email address. How can i change it or else when the server reply me to check my email that i can't check due to they sent to wrong email address...

    Please give advice of how can i change my Apple ID (email address) as it is wrong address. Like i just update my iPhone to latest version 6.0, and get the new app, iCloud which need me to key in my Apple ID and Password. I have no choice to use the wrong email address as it is already registerd since from 1st day i use my iPhone. Then i received the reply that tell me to check my email for verifing but the problem is i can't check my gmail as they sent to the email is not my actual gmail address....
    How can i solve this problem?

    You may change your Apple ID to any email address that is not already used as another Apple ID, or that is not already associated with another Apple ID.
    In other words, if I have an Apple ID [email protected], and have alternate email addresses of [email protected] and [email protected], none of them may be used by me or anyone else for an Apple ID, Rescue Email, alternate email, or anything Apple-related.
    If the Apple ID link above indicates your email is already in use then it is. Use https://iforgot.apple.com, select Forgot your Apple ID? and provide the information requested. If the email address is one you created and can still access, you may be able to retrieve it. If it is one someone else created, you will not.

  • I set iCloud up but I have given the wrong email address how do I change it to the correct one?

    I set up iCloud when I got my iPhone 4S but I have just realised I have given the wrong email address how can I change it I put .co.uk and it's .com

    Go to appleid.apple.com, click Manage Your Apple ID, sign into your iCloud account (using the wrong email address), it should prompt you to verify it and allow you to edit your email there. If not, then it will bring you to a screen that will show you your name, your email, and any alternate emails you have. Click the edit button next to "Primary Email Address and Apple ID" and change it to your email.

  • I have registered the wrong email address how do I change it

    I Have registered the wrong email address when setting up my iTunes how do I change it

    You should be able to change the email address on the account by logging into the account via the 'manage your apple id' button on http://appleid.apple.com, via the Store > View Account menu option on a computer's iTunes, or by tapping on it in Settings > iTunes & App Store on your phone and logging in

  • HT1541 I put in the wrong email address how do I change it (it was fir a iTunes gift card)

    I purchased  2 $10.00 gift cards and I sent it to the wrong email addresses .How can I resent this .Itried to change it but it wouldn't let me .I am very frustrated ......

    The HT1541 page that you posted from has instructions for how to resend a gifts from your iTunes account - assuming that the address that you originally sent it to doesn't exist and it hasn't been redeemed.

Maybe you are looking for

  • HP 7510 All-in-One Won't Wake Up

    My networked HP 7510 goes into power saving mode as set in default settings, but will not wake up when a print job is sent from a networked PC - except randomly and for reasons that I can't explain. I can't correlate when it will wake up to any parti

  • Recovering a Windows Oracle 9i Installation

    My Windows 2000 system crashed and the registry is not recoverable. Oracle was offline when this happned so there are no redolog tyoe issues. I have all the files in the Oracle homes on backup. Can I recover from this. If I reinstall Oracle to the sa

  • How to print 2 sided pages brochure

    how to print 2 sided pages brochure

  • SAP BW Authorizations

    Hi All, I am BW Consultant, till now I didn't get a chance to work on BW Authorizations. Could please suggest how authorization concept will work in our BW system and could please give good documentation for the same. I need to work on BW 7.0 system.

  • Reporting Instance

    Hi All, One query Is it possible to apply archives on open stage ? My requirement is that I needs to create an instance(Reporting) for generating reports . My daily transaction will be happening on Primary DB and reporting will happen on the other in