Custom header reading of bounce mail

Hi,
When I send a mail to invalid mail address on gmail server, form the bounce mail able to read the custom headers using javax.mail api.
But when I send mail to invalid user on MS Exchange server, from the bounce mail I got, not able to read the custom headers using javax.mail. But the outlook shows (by looking at the option) the custom header is present. I think I may be missing some configuration while reading the mail from mail server using javax.mail. and not reading all the headers. (but its working with other email servers like gmail)

First, you need to understand that it's up to the
destination server what it returns, if anything, when
you send a message to an invalid address.
In this case, if sounds like the destination server has
returned a message that includes all the headers
you want to see, but you can only see them using
Outlook and not when using JavaMail.
Note that Outlook typically uses a Microsoft proprietary
protocol to talk to Exchange, so it's possible for it to
see and do things that are not possible using the
standard internet protocols that JavaMail uses.
You'll probably need to consult an Exchange expert
to see if there are configuration options that control
what information it makes available to internet
protocol clients in this case.

Similar Messages

  • How to show custom header in pdf generated from report

    Hi,
    I  have created a report that is used to display Leave record of employees in an organization. After which it creates a pdf file and send it to respective HOD.
    In this case I am trimming generated output and sendinf only required fields to the pdf.
    When pdf is getting generated it shows program name as Title of that report.
    I want to change this header to my own header along with some variable but not sure how I can do so.
    I have also tried TOP-OF_PAGE but problem in this case is that I am still getting program name along with it.
    To generate pdf I have used function :
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        exporting
          src_spoolid   = spoolid
          no_dialog     = ' '
        importing
          pdf_bytecount = l_no_of_bytes
          pdf_spoolid   = l_pdf_spoolid
          btc_jobname   = l_jobname
          btc_jobcount  = l_jobcount
        tables
          pdf           = l_pdfdata.
    Then I had converted this pdf to Binary
    call function 'QCE1_CONVERT'
        tables
          t_source_tab         = l_pdfdata
          t_target_tab         = lit_record
        exceptions
          convert_not_possible = 1
          others               = 2.
    Then I had created subject matter and used FM : SO_NEW_DOCUMENT_ATT_SEND_API1: to send mail to respective HODs.
    I tried dubbing it but couldn't get any variable which is holding program name.
    Sorry for putting in wrong forum.
    so Closing it from this forum and raising the same in ABAp-General forum.
    How to change header of pdf in generated report
    Edited by: gaur.yagyesh on Apr 16, 2010 4:03 PM

    To make it more clear to my question.
    I am using sun one webserver 6.0 sp6.
    I need to enable custom header on the webserver so that any request having a custom http header coming to webserver should be captured by the webserver.
    Thanks,

  • Bounced mail in trash?

    I noticed recently that the junk mail I "Bounce" goes to the trash. What is this about??? Does that mean it's not bounced but rather sent to the trash?

    I thought bouncing mail meant that it was like it never got to my computer
    Only apparently, and only if the bounce is received by someone that doesn't know how to interpret header information:
    http://www.by-users.co.uk/faqs/email/headers/
    http://www.stopspam.org/email/headers.html
    So should I stop doing this?
    Definitely. Even though the bounce apparently says that the original message was sent to an invalid address, anyone looking at the headers can easily determine that the bounce was created by a mail client and sent from a valid address, rather than created by the mail server as a result of the destination address being invalid -- you can check this sending a message to yourself, then bouncing it, then doing View > Message > Raw Source on the received bounce.

  • Custom Header search

    Hi guys,
    I have added a custom header in my mail.When I search my folder by using HeaderTerm and search for the the mail,I get no results.
    But when i retrieve all the mails from my folder and check the message object during debugging, the custom header that
    I added is present.
    Can anyone help me with this?
    Also is the headerterm search valid for only default headers??
    If no, am i missing something?
    Following is the code snipplet:
    msg.addHeader("EntityId","123");
    Transport.send(msg);
    SearchTerm st = new HeaderTerm("EntityId","123");
    msgs = folder.search(st);

    Have you found the [JavaMail FAQ|http://java.sun.com/products/javamail/FAQ.html#debug] yet?

  • Question about TextEdit. How do i add a custom header to a multipage document? For example, "Smith, page 2", "Smith, page 3', etc. I can do it in Microsoft Word, but cant figure out how in TextEdit.

    How do i add custom headers to a multipage document in TextEdit? i need to add a custom header in upper right of page, for example: "Smith, page 2", "Smith, page 3" etc.  The add header setting in Textedit file-print only adds date : time in upper right, with "Page 1 of 3" on bottom right.
    Thank you.

    It's just a text editor not a word processor.

  • How to Change Journal Header name to Custom Header Name while GL Importing?

    Hello Experts,
    I am in situation where customer wanted to keep their own journal header naming conventions to imported journals in Oracle GL for custom Journal sources.
    As I know while importing journals, Oracle Creates the Journal Name based on the below mentioned logic.
    "Journal Import creates a default journal entry name using the following format:
    (Optional User-Entered REFERENCE4)(Category Name)(Currency)
    (Currency Conversion Type, if applicable)
    (Currency Conversion Rate, if applicable)
    (Currency Conversion Date, if applicable) (Encumbrance Type ID, if applicable)
    (Budget VersionID, if applicable). If you enter a journal entry name,
    Journal Import prepends the first 25 characters of your journal entry name to
    the above format"
    But then How it is possible to only allow journal header Name to be used present in REFERENCE4 excluding all other string provided by Oracle? Instead of using omitted string custmoer wanted to keep their own parameters. Example - REFERENCE4.A.B.C etc.
    Is it possible to solve this using seeded setup or modifying some hook packages or anything else?
    As far as I know there can be one workaround to be use of updating journal header name after journal import being completed successfully for custom journal source. But only fear is Oracle doesnt allow updating the base table without API. Am I rght?
    So it would be really great if anyone of you can suggest the best solution or best possible workaround.
    Thanks

    Duplicate - How to Change Journal Header name to Custom Header Name while GL Importing?

  • Is there way to get read receipts in mail and do you get non deliverable notifications??

    is there way to get read receipts in mail and do you get non deliverable notifications??

    I'm a little fuzzy on your question.
    If you are trying to "Bounce" and email, I regret to inform you that Apple removed that feature a few years ago.  There are other email programs available that have this capability.

  • Custom header delimeter

    My company is used to exporting data from MAX using a custom header with the tab delimeter.  I am trying to make a LabVIEW program that automatically writes the data and header to the file.  My company already has software to make a custom header text file but the problem is that this file contains the text:  {delimiter} where each tab should be.  Is there a way when reading this custom header from the file to add a tab when this {delimiter} shows up such as MAX does? 

    Use "search and replace string",
    search string= {delimiter}
    replace string=tab diagram constant
    replace all=true.
    LabVIEW Champion . Do more with less code and in less time .

  • How to identify bounced mails thru java mail??

    Hi everyone,
    I have a Javamail program through which I m sending and receiving mails. I want to identify bounced mails from the ones I receive. Is there a way in the Javamail API or the SMTP protocol to detect if the mail recd is a bounced one?? Some header or something???
    Any inputs will be great...

    There's no need to ask twice.
    http://forum.java.sun.com/thread.jsp?forum=43&thread=176301

  • How to insert custom header in log files

    How i can insert a custom header in sun one 6.1 sp2 logging ( access logs)...
    In apache i can do it like :
    LogFormat "%v %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b" X-Forwarded-For
    CustomLog /var/log/apache/www.example.com-xforwarded.log X-Forwarded-For
    so "X-Forwarded-For" header i want to put in the server access log file.
    Any idea's ?

    6.1 SP2 contains known security vulnerabilities that allow anyone to completely take over your web server. Unless you a) don't care what happens to your web server or b) trust everyone completely, you should install the latest service pack.
    That said, you can configure your log format string using the Server Manager UI or by manually editing the files in the config subdirectory. In both cases, adding \"%Req->headers.x-forwarded-for%\" to the log format string will tell the server to log the value of the X-Forwarded-For header. This is documented, albeit poorly.

  • Tracking of Bounced Mails

    Hi Friends,
    I am using Solaris outside a fire wall.
    I have a program which send mails to the receipients by making use of javax.mail package.
    The question is the mails are going perfectly fine but sometimes the mails are not going and I had also checked with the network at that time and it is fine.
    Now, I would like to track all the messages which are not sent and why??
    Where can I get those messages?
    I had checked the root mail of my solaris machine and there are no bounced mails.
    If it comes to the root mail is there any way that we can forward those mails to our personnel id's so that we can send them again>
    Regards,
    Shankar Medapati

    Hi Jay,
    Thanks for the concern...
    We r using the SMTP Server for sending mails.
    The problem I am facing is the SMTP properties I am using could not able to send mails to the receipients with addresses involving "co.in","@co.name.com",etc.
    But the problem I don't understand is when I send mails from the development environment where my app server and mail server are within the firewall there is no problem,but my app server resides outside the fire wall and my mail server resides with in the firewall. Please tell me weather there are any other settings to be done in the app server or mail server to handle this problem.

  • Re-Creating the Help button in a Custom Header portlet

    I've disabled the Top Bar from my portal, and need to create the Help within my custom Header portlet. I can't find any code on how to have it dynamically work? Is it even possible?

    It is possible. Here is a custom function we wrote:
    /***ReturnsanHTMLAnchorthatimplementscontextsensitivehelp.Note,ifeither*imgHelpORstrHelpTextarenotnull,bothdefaultswillbeclearedandoverridden**@paramimgHelp-Includeanoptionaloverrideimage-nullifdefault*@paramstrHelpText-Includeoptionaloverridetext-nullifdefault*@paramasOwner-Theactivityspacecurrentlyinuse**@returnHTMLAnchor*/
    publicstaticHTMLAnchor GetHelpLink(HTMLImg imgHelp, String strHelpText, AActivitySpace asOwner){HTMLAnchor result = [b]null;
    //Get the default help anchor
    result = HTMLConstructHelpers.GetHelpAnchor( asOwner );
    if(null!= imgHelp || null!= strHelpText)
    //Clear the existing default help image and text
    result.ClearInnerHTMLElements();
    if(null!= imgHelp)
    result.AddInnerHTMLElement(imgHelp);
    if(null!= strHelpText)
    //Add in our own custom text
    result.AddInnerHTMLString(strHelpText);
    returnresult;

  • Calling AdvancedDataGridSortItemRenderer with custom header

    HI,
    I have searched for a few hours now no luck...
    I have an advanced datagrid, with a lot of columns showing
    small check mark icon for boolean value.
    To make the columns smaller, I made a simple headerRenderer
    that rotates the labels 90 degrees, so they run vertical.
    but I lose the sort arrow these columns.. Looking the docs
    http://livedocs.adobe.com/flex/3/langref/mx/controls/advancedDataGridClasses/AdvancedDataG ridHeaderRenderer.html
    under
    sortItemRenderer
    Note that the sort item renderer controls the display of the
    sort icon and sort sequence number. A custom header renderer must
    include code to display the sort item renderer, regardless of
    whether it is the default or custom sort item renderer.
    How do I call that from my code

    Hi Juan,
    Here I have written the form and program name.
    And here is the 185F definition.

  • How to print jTable with custom header and footer....

    Hello all,
    I'm trying to print a jTable with custom header and footer.But
    jTable1.print(PrintMode,headerFormat,footerFormat,showPrintDialog,attr,interactive)
    does not allow multi line header and footer. I read in a chat that we can make custom header and footer and wrap the printable with that of the jTable. How can we do that..
    Here's the instruction on the chat...
    Shannon Hickey: While the default Header and Footer support in the JTable printing won't do exactly what you're looking for, there is a straight-forward approach. You can turn off the default header/footer and then wrap JTable's printable inside another Printable. This wrapper printable would then render your custom data, and then adjust the size given to the wrapped printable
    But how can i wrap the jTable's Printable with the custom header and footer.
    Thanks in advance,

    I also once hoped for an easy way to modify a table's header and footer, but found no way.
    Yet it is possible.

  • I keep getting this message: Mail can't connect to the account: "Sbcglobal". Enter the password... So I do and it opens up, but later it will happen again. It's not earth-shattering, but I have to stop what I'm doing to get rid of the bouncing Mail icon.

    I keep getting this message: Mail can't connect to the account: "Sbcglobal". Enter the password... So I do and it opens up, but later it will happen again. It's not earth-shattering, but I keep having to stop what I'm doing to get rid of the annoying bouncing Mail icon.

    If your password is accepted, and Mail connects to the account, but you're prompted for the password repeatedly, take each of the following steps that you haven't already tried. Note: these steps don't apply if the server rejects the password. That's a different problem.
    Step 1
    When prompted for the password, check the box marked Remember this password in my keychain.
    Step 2
    Check that the keychain is working.
    Step 3
    Check that the default keychain is unlocked.

Maybe you are looking for

  • Cant install LIVE! Cam Video IM Pro

    I have a dell Dimension 8400.I purchased a brand new web cam and I can not install the software. It gets to approx 44-76% and freezes. I have tried several times. My OS is Windows XP Pro -version 2002, service pack 2. I have QUICKTIME 6.3 (only 7.0 a

  • Paint background of a JDialog

    Hey, i have a quite simple problem: I want to paint the background of my own JDialog, but i dont know how. I looked for a method like paintComponent(Graphics g) like in a JPanel, but there is no function. So i overwrite the method paint(Graphics g) b

  • ISE Authorization Policy Register Device Problem

    Dear all. I have some problem about register device in ISE. I have to check registered device before access the network. But in register device process. I  don't like to install Native Supplicant or any program in the device .  I need to register dev

  • All packno for the service entry sheet

    Hello Experts,                      Can you help me to know in which tables i can know the packnos available for the entry sheet.Suppose if tehre are more than one packnos present for entry sheet then we cannot find using ESSR. I need to know the ent

  • Slow Printing on RDS on Server 2008 R2

    We have resently upgraded from a 2000 Terminal server to a 2008 R2 Remote desktop Server. The clients are running XP Pro and have SP3 installed and .net Framework 3.5 SP1. Users are complaining that printing is very slow on the new system and there i