Mail sending through proxy client

I have the following simple code to send mail through a SOCKS proxy client:
package com.apna.beans;
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.activation.DataHandler ;
public class SMail{
public static void main(String[]a){
System.setProperty("proxySet","true");
/*System.getProperties().put("http.proxyPort","25");
System.getProperties().put("http.proxyHost","192.168.0.1");*/
Properties props = System.getProperties();
String msg = "";
// Get system properties
final String username = "vedijitendra";
final String password = "sendmail";
props.put("socksProxyHost", "pc-2");
props.put("socksProxyPort", "1080");
props.put("mail.smtp.host", "smtp.gmail.com");
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.user", username);
props.put("mail.smtp.auth","true"); // this is imp for authorisation.
//props.put("mail.host", "192.168.0.1");
props.put("mail.debug", "true");
props.put("mail.store.protocol", "pop3");
props.put("mail.transport.protocol", "smtp");
try{
//here the authorisation takes place using an Anonymous class.
Session session = Session.getDefaultInstance(props,
new javax.mail.Authenticator (){
protected
javax.mail.PasswordAuthentication
getPasswordAuthentication() {
return new
javax.mail.PasswordAuthentication(username,
password);
// Define message
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress("[email protected]"));
message.addRecipient( Message.RecipientType.TO, new
InternetAddress("[email protected]"));
message.setSubject("Test");
message.setContent("text", "text/html");
// Send the message
Transport.send(message);
msg = "The mail has been sent.";
} catch(Exception e){
e.printStackTrace();
msg = "The mail has not been sent.";
I am able to connect to the GMail's SMTP server.
However, when the Transport. send method is executed, I get:
java.lang.NullPointerException
at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:242)
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1191)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:348)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
Any ideas?

Send email to [email protected] telling me what version of JavaMail you're
using and what version of the JDK you're using and I'll help you debug this.

Similar Messages

  • IPhone mail sending through Gmail not pop3?

    I have a pop3 account but all email being sent through Gmail.  I have deleted my Gmail account and it is still sending through Gmail.  How do I get iPhone to stop using Gmail?  Is there some new alliance I did not know about.

    To change your email address in the mail built in app :
    go to settings > mail, contacts, calendars > ( you will find your gmail account under iCloud ) tap on it then top on DELETE ACCOUNT > tap on add account to add your new address

  • Mail app through proxy

    Mail app works(on a gmail account), but only when connected through a network directly, not through a proxy.
    Is there any way to make mail work through a http proxy on port 8080, or is the mail app simply ignoring proxy settings (which are, of course, correctly set)?
    If this is impossible with the standard mail app, is there any mail app that would solve my problem?

    I'm having the same problem. I can't find a solution. Did you ever find the problem?

  • Is CC possible in Mails sending through ABAP?

    Hello All,
    My requirement is to send the requirement to MAIL reciepients ..We all know well about this from past ...
    But.Can You please  let me know is this possible Like putting some one in CC???
    Regards
    sas

    Hi,
    Please check the sample code.Its working fine. You can check the sample code by change the email IDs.
    REPORT  ztest_subha_mail.
    DATA: l_send_request TYPE REF TO cl_bcs,         " Send request
          l_body      TYPE bcsy_text,                " Mail body
          l_success   TYPE bcsy_text,                " Atchmnt for success
          l_error     TYPE bcsy_text,                " Atchmnt for error
          wa_text     TYPE soli,                     " Work area for attach
          l_document  TYPE REF TO cl_document_bcs,   " Mail body
          l_sender    TYPE REF TO if_sender_bcs,     " Sender address
          l_recipient TYPE REF TO if_recipient_bcs,  " Recipient
          l_size      TYPE sood-objlen,              " Size of Attachment
          l_lines     TYPE i,                        " Lines count
          l_email     TYPE ad_smtpadr,               " Email ID
          l_address   TYPE bcsy_resv,
          wa_address  TYPE bcss_resv,
          l_extension TYPE soodk-objtp VALUE 'RAW'.  " TXT format
    Prepare mail bidy
    APPEND 'Send multiple file as attachment of a Email commit.' TO l_body.
    APPEND space TO l_body.
    Preparing contents of attachment with Change Log
    Header line
    wa_text-line+0   = 'First column'.
    wa_text-line+20  = 'Second column'.
    wa_text-line+40  = 'Third column'.
    wa_text-line+60  = 'Fourth column'.
    wa_text-line+80  = 'Fifth column'.
    wa_text-line+100 = 'Sixth column'.
    wa_text-line+120 = 'Seventh column'.
    wa_text-line+140 = 'Eighth column'.
    APPEND wa_text TO l_success.
    APPEND wa_text TO l_error.
    CLEAR : wa_text.
    Populate the data part
    wa_text-line+0   = '111111111'.
    wa_text-line+20  = '222222222'.
    wa_text-line+40  = '333333333'.
    wa_text-line+60  = '333333333'.
    wa_text-line+80  = '444444444'.
    wa_text-line+100 = '555555555'.
    wa_text-line+120 = '666666666'.
    wa_text-line+140 = '777777777'.
    APPEND wa_text TO l_success.
    CLEAR : wa_text.
    wa_text-line+0   = 'aaaaaaaaa'.
    wa_text-line+20  = 'bbbbbbbbb'.
    wa_text-line+40  = 'ccccccccc'.
    wa_text-line+60  = 'ddddddddd'.
    wa_text-line+80  = 'eeeeeeeee'.
    wa_text-line+100 = 'fffffffff'.
    wa_text-line+120 = 'ggggggggg'.
    wa_text-line+140 = 'hhhhhhhhh'.
    APPEND wa_text TO l_error.
    CLEAR : wa_text.
    Creates persistent send request
    l_send_request = cl_bcs=>create_persistent( ).
    Craete document for mail body
    l_document = cl_document_bcs=>create_document(
                 i_type    = 'RAW'
                 i_text    = l_body  " Mail body
                 i_subject = 'Mail send as attachment' ).
    Attachment for success records
    l_lines = LINES( l_success ).
    l_size = l_lines * 255.
    Add attchment
    CALL METHOD l_document->add_attachment
      EXPORTING
        i_attachment_type    = l_extension
        i_attachment_subject = 'Success'
        i_attachment_size    = l_size
        i_att_content_text   = l_success. " Attachment for success record
    Attachment for error records
    l_lines = LINES( l_error ).
    l_size = l_lines * 255.
    Add attchment
    CALL METHOD l_document->add_attachment
      EXPORTING
        i_attachment_type    = l_extension
        i_attachment_subject = 'Error'
        i_attachment_size    = l_size
        i_att_content_text   = l_error. " Attachment for error record
    Add the document to send request
    CALL METHOD l_send_request->set_document( l_document ).
    Sender addess
    l_sender = cl_sapuser_bcs=>create( sy-uname ).
    CALL METHOD l_send_request->set_sender
      EXPORTING
        i_sender = l_sender.
    Recipient address
    l_email = 'TO'.        " NEED TO CHANGE
    l_recipient = cl_cam_address_bcs=>create_internet_address( l_email ).
    Add recipient address to send request
    CALL METHOD l_send_request->add_recipient
      EXPORTING
        i_recipient  = l_recipient
        i_express    = 'X'
        i_copy       = ' '
        i_blind_copy = ' '
        i_no_forward = ' '.
    l_email = 'CC'.      " NEED TO CHANGE
    l_recipient = cl_cam_address_bcs=>create_internet_address( l_email ).
    Add recipient address to send request
    CALL METHOD l_send_request->add_recipient
      EXPORTING
        i_recipient  = l_recipient
        i_express    = 'X'
        i_copy       = 'X'
        i_blind_copy = ' '
        i_no_forward = ' '.
    Trigger E-Mail immediately
    l_send_request->set_send_immediately( 'X' ).
    Send mail
    CALL METHOD l_send_request->send( ).
    COMMIT WORK.
    Also you can do the same thing using the FM SO_NEW_DOCUMENT_ATT_SEND_API1
    Here when you trying to create the Receipient list there for CC you need to check the field SOMLRECI1-COPY.
    Thanks
    Subhankar
    Edited by: Subhankar Garani on Mar 4, 2010 6:46 AM

  • Reg: Error in Mail sending through background job in SCOT

    Hello experts,
    I am trying to schedule a background job through SCOT so as to send the mails present in SOST.
    The job is running but it is giving error as "Invalid status  for recipient" in SOST.
    But when I am sending it directly from SOST it is delivered without any errors. The email address is maintained correctly and SMTP settings are also correct as while sending it directly from SOST it reaches the required recipient without any error.
    This error is observed only through background job. I am using program RSCONN01 with variant SAP&CONNECTINT in background job.
    Kindly suggest why I am getting the error "Invalid status  for recipient" in background job.
    Thanks & Regards
    Meraz
    +91 8894522860

    I am getting the exact same issue.
    were you able to fix this in the last 3 weeks?
    thanks.

  • CC field in mail sending through work-flow

    Hi All,
    I have one issue.
    I want to send mail through work-flow using sendmail activity.
    I can able to send mail also...but for the same mail i want to keep one more person as CC or BCC..
    Is there any feature available in work-flow to keep a person in CC or any other solution..
    I know this is possible using FM....something other than this...please..
    Regards
    Ansumesh

    0000 infotype(actions) run with any reason like separation or long term disabilitymeans
    in Actions infotype the both are reasons right are your sure whether these are Actions reasons or action type ?
    In that case identify the Code Related to MASSN which is is acton type feild name and action reason is MASSG
    and deactivate for those two action type that will suffice the requirement right

  • Change in sender name of mail sended through workflow

    Hi All,
    I have requirement where we want to chage the sender name decription for mails which are going through workflow.When we send mails through send mail step in workflow it is taking sender decription name automatically as "GSAP E1B WORKFLOW SYSTEM".
    I have to change this decription to "OSIRIS Invoice". Is there any way to change sender name?
    We are using SENDTASKDESCRIPTION method of SELFITEM object in send mail step.
    Any help on this regards will be grate help...
    Regards,
    Rahul

    Hello Rahul,
    here, the sender's name is the user's name of the background user performing this task, i.e. usually WF-BATCH.
    If you do not have any other workflow scenarios running that could interfere here you could possibly just change that user's name.
    Otherwise you have to re-program the sendmail step to specifically set the sender description.
    Best regards,
    Florin
    P.S: Workflow issues have a separate forum:
    SAP Business Workflow

  • Mail sending through oracle..

    Hi,
    I wish to send mail through pl/sql .. in oracle 9i.
    I know its done using utl_smtp.... but dont know the steps and the required settings.
    Please provide me detailed steps.
    Thanks.

    There is an explanation plus a demo here:
    http://www.psoug.org/reference/utl_smtp.html
    and here:
    http://www.oracleutilities.com/Packages/utl_smtp.html
    and here:
    http://www.revealnet.com/newsletter-v2/smtp.htm
    DISCLAIMER These were the first three results on Google for UTL_SMTP
    Search is your friend!

  • Workflow Mail sending in different clients

    Hi All,
    I created a single step workflow which has just 'SendMail' step in it.I have two clients in my sstem 200 and 280.When i execute this workflow using F8 from 200 client it sends out a mail and workflow gets completed. But when i execute this workflow in client 280 , it errors out saying method 'SENDTASKDESCRIPTION' can not be executed. I checked the bindings and all is perfect .
    Now i cant figure out what could be the possible difference in client 200 and 280 because of which i am getting an error only in client 280 and not in 200 for the same workflow
    Thanks in advance for your help
    Regards
    Shylesh

    Hi Anand,
    Standard Program 'RSWUWFMLEC' is reponsible to send all mails.
    Please check this program in both the clients.
    The text in the mail will be coming from the work item text.
    To find which standard task is passing the text, goto Tcode SWDD
    give your Workflow template number and check the standard task over there.
    or goto Tcode SWI1 and check the log of the workflow.
    Note: Reward points for helpful answer.
    Regards,
    Andy.

  • Mail sending through jsp

    ive downloaded the javamail-1.3.3_01 and jaf-1.0.2
    ive dont know where to place the mail.jar and activation.jar files

    Tomcat 5.0\common\lib

  • Sending mail through a proxy client

    I have the following simple code to send mail through a SOCKS proxy client:
    package com.apna.beans;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.activation.DataHandler ;
    public class SMail{
    public static void main(String[]a){
    System.setProperty("proxySet","true");
    /*System.getProperties().put("http.proxyPort","25");
    System.getProperties().put("http.proxyHost","192.168.0.1");*/
    Properties props = System.getProperties();
    String msg = "";
    // Get system properties
    final String username = "vedijitendra";
    final String password = "sendmail";
    props.put("socksProxyHost", "pc-2");
    props.put("socksProxyPort", "1080");
    props.put("mail.smtp.host", "smtp.gmail.com");
    props.put("mail.smtp.starttls.enable", "true");
    props.put("mail.user", username);
    props.put("mail.smtp.auth","true"); // this is imp for authorisation.
    //props.put("mail.host", "192.168.0.1");
    props.put("mail.debug", "true");
    props.put("mail.store.protocol", "pop3");
    props.put("mail.transport.protocol", "smtp");
    try{
    //here the authorisation takes place using an Anonymous class.
    Session session = Session.getDefaultInstance(props,
    new javax.mail.Authenticator (){
    protected
    javax.mail.PasswordAuthentication
    getPasswordAuthentication() {
    return new
    javax.mail.PasswordAuthentication(username,
    password);
    // Define message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress("[email protected]"));
    message.addRecipient( Message.RecipientType.TO, new
    InternetAddress("[email protected]"));
    message.setSubject("Test");
    message.setContent("text", "text/html");
    // Send the message
    Transport.send(message);
    msg = "The mail has been sent.";
    } catch(Exception e){
    e.printStackTrace();
    msg = "The mail has not been sent.";
    I am able to connect to the GMail's SMTP server.
    However, when the Transport. send method is executed, I get:
    java.lang.NullPointerException
    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:242)
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1191)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:348)
    at javax.mail.Service.connect(Service.java:297)
    at javax.mail.Service.connect(Service.java:156)
    at javax.mail.Service.connect(Service.java:105)
    at javax.mail.Transport.send0(Transport.java:168)
    at javax.mail.Transport.send(Transport.java:98)
    Any ideas?

    I have the following simple code to send mail through a SOCKS proxy client:
    package com.apna.beans;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.activation.DataHandler ;
    public class SMail{
    public static void main(String[]a){
    System.setProperty("proxySet","true");
    /*System.getProperties().put("http.proxyPort","25");
    System.getProperties().put("http.proxyHost","192.168.0.1");*/
    Properties props = System.getProperties();
    String msg = "";
    // Get system properties
    final String username = "vedijitendra";
    final String password = "sendmail";
    props.put("socksProxyHost", "pc-2");
    props.put("socksProxyPort", "1080");
    props.put("mail.smtp.host", "smtp.gmail.com");
    props.put("mail.smtp.starttls.enable", "true");
    props.put("mail.user", username);
    props.put("mail.smtp.auth","true"); // this is imp for authorisation.
    //props.put("mail.host", "192.168.0.1");
    props.put("mail.debug", "true");
    props.put("mail.store.protocol", "pop3");
    props.put("mail.transport.protocol", "smtp");
    try{
    //here the authorisation takes place using an Anonymous class.
    Session session = Session.getDefaultInstance(props,
    new javax.mail.Authenticator (){
    protected
    javax.mail.PasswordAuthentication
    getPasswordAuthentication() {
    return new
    javax.mail.PasswordAuthentication(username,
    password);
    // Define message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress("[email protected]"));
    message.addRecipient( Message.RecipientType.TO, new
    InternetAddress("[email protected]"));
    message.setSubject("Test");
    message.setContent("text", "text/html");
    // Send the message
    Transport.send(message);
    msg = "The mail has been sent.";
    } catch(Exception e){
    e.printStackTrace();
    msg = "The mail has not been sent.";
    I am able to connect to the GMail's SMTP server.
    However, when the Transport. send method is executed, I get:
    java.lang.NullPointerException
    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:242)
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1191)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:348)
    at javax.mail.Service.connect(Service.java:297)
    at javax.mail.Service.connect(Service.java:156)
    at javax.mail.Service.connect(Service.java:105)
    at javax.mail.Transport.send0(Transport.java:168)
    at javax.mail.Transport.send(Transport.java:98)
    Any ideas?

  • How to enable send e-mail option through browser window

    Hi all,
    i need to configure browser enabled e-mail sending option in my sharepoint 2013 site , here is my requirements.....
    From Address  : Default do not reply e-mail address
    To Address : Default my E-mail address
    Subject Line - Here is subject line
    Body  - here i need to enter my message
    want to add attachments if possible ,
    i have all this options using infopath form , but i need this in browser window ...
    am using below code for send through outlook , but i need this with browser enabled and adding default from and to address ...
    please help me with this ASAP.
    Thanks,
    Mani L
    Mani L

    Hi Mani,
    The A tag using the MailTo: can only work with a client mail program. There's no way to send an e-mail from the server using it.
    You can specify Subject and Body texts within the A tag, but you cannot specify the from and to addresses.
    In order to send e-mail from the server, you'd need to use either an app-part or custom web part. I don't think you can do it through CSOM.
    Paul.
    EDIT: It looks like you can do it through C# CSOM, but that would require an AppPart. I can't see SendEmail in any of the JavaScript based CSOM files.
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.utilities.utility.sendemail(v=office.15).aspx
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • Issue in sending mail while processing PROXY in ECC 6.0

    We are implementing PROXY interface with below required functionality:
    1.PROXY for posting Accounting Documents
    2.For error records, send Error Log (in PDF Format) as E-Mail to recipient maintained separately for the company code
    Issue:
    -The Email is not getting triggered when XI is sending the input file to ECC through PROXY. Whereas Email is getting generated when PROXY is executed manually in ECC.
    Help Needed:
    -Please share your inputs on the above issue.

    Check in SMB_MONI in ECC if message is generated correctly for proxy? If the data is correctly passsed.
    Also check SOST.
    Regards
    Vinit

  • I can no longer receive e-mail messages through my @mac/@me account. I can still send e-mail messages, though. I believe there may have been recent attempts to hack into my account. I have changed my password, but wonder how to start receiving mail again?

    I can no longer receive e-mail messages through my @mac/@me account, though I still seem to be able to send messages. I believe there may have been recent attempts to hack into my Mail account (my LinkedIn and Facebook accounts were both hacked three days ago and a scam/phishing message sent to my contacts, and I know there was at least an attempt made to hack into one of my e-mail accounts). I have already changed my Apple password, but how do I start receiving mail again?
    (And I should also say that I'm a little surprised there was no alert from Apple of suspicious activity on my account, if such was the case. Instead, when I logged into my account via Mobile Me three days ago I noticed that all messages in my inbox were gone as well as all of my contacts. I assume this was related to the current problem.)
    Thanks for all responses.

    The problem has been solved with the help of a MobileMe online counsellor. My MobileMe account had in fact been hacked into and the fraudster had been redirecting my e-mail messages to a phony account that he controlled. We took the forward off and reset all my passwords and security questions, which solved the immediate problem.
    Thx.

  • Mail Sender to Abap Proxy Receiver with Attachements

    Hi All,
    Scenario: I need to create a ticket in Solman from a mail. I intend to do the scenario as Mail sender to Abap Proxy receiver asynchronous.
    I have configured my sender mail adapter and am able to get the mails in XI. The attachements also appear in Inbound payload as MailAttachement-1, MailAttachement-2 etc. I have checked use mail packege and keep attachements in sender adapter.
    Transport Protocol: IMAP4
    Message Protocol: XIPAYLOAD
    Queries:
    1. My Inbound Data Type is the mail Package -- ximail30_xsd. Here in sxmb_moni I can see the mail attributes like from, to and the mail body in content. But How can I read the attachements in my message mapping.
    2. How can I pass these attachements to Abap Proxy ( I do not need to alter attachments only pass to proxy ). These attachements have to be attached to the Solman ticket in SOLMAN server.
    Appreciate your kind response to my above queries.
    Thanks.
    Regards,
    Siddhesh S.Tawate
    PS: I have tried using PayloadSwapBean in adapter module but still the content at source remains same.

    Hi,
    Please find below the part of code that might help you. I have given code only responsible for attachements part of the ticket.
    loop at lt_attach into l_attachment.
            count = count + 1.
            if count = 1.
              first_line = 1.
            endif.
            l_type = l_attachment->GET_CONTENT_TYPE( ).
            split l_type at '"' into l_type
                                     file_name
                                     l_name.
            l_name = file_name.
            split file_name at '.' into file_name
                                        file_type.
            l_xstring = l_attachment->GET_BINARY_DATA( ).
            strlen = xstrlen( l_xstring ).
            Compute int = ( strlen div 255 ).
            Compute rem = ( strlen mod 255 ).
            if rem <> 0.
              int = int + 1.
            endif.
            count1 = int.
            if count = 1.
              last_line = count1.
            else.
              if int = 1.
                first_line = last_line.
              else.
                last_line = first_line + count1.
              endif.
            endif.
            wa_APPX_HEADERS-APPXNO = count.
            wa_APPX_HEADERS-DESCR = l_name.
            wa_APPX_HEADERS-FILETYP = file_type.
            wa_APPX_HEADERS-FILENAM = l_name.
            wa_APPX_HEADERS-FILEFM_UL = 'BIN'.
            wa_APPX_HEADERS-FIRSTL = first_line.
            wa_APPX_HEADERS-LASTL = last_line.
            wa_APPX_HEADERS-FILELEN = strlen.
            wa_APPX_HEADERS-LAST_USR = sy-uname.
            GET TIME STAMP FIELD wa_appx_headers-TIMESTAMP.
            append wa_APPX_HEADERS to it_APPX_HEADERS.
            while count1 <> 0.
              count1 = count1 - 1.
              if count1 <> 0.
                wa_APPX_LINES_bin-LINE = l_xstring+0(255).
                shift l_xstring left by 255 places in BYTE MODE.
              ELSE.
                wa_APPX_LINES_bin-LINE = l_xstring.
              endif.
              append wa_APPX_LINES_bin to it_APPX_LINES_bin.
              clear: wa_APPX_LINES_bin, wa_APPX_LINES.
            endwhile.
            first_line = last_line + 1.
            clear: strlen, count1, file_name, file_type, l_type, int, rem, l_xstring, l_attachment.
          endloop.
    CALL FUNCTION 'BAPI_NOTIFICATION_CREATE'
            EXPORTING
              NOTIF_EXT                = wa_NOTIF_EXT
            NOTIF_CRM                = wa_NOTIF_CRM
      IBASE_DATA               =
         IMPORTING
           NUMBER                   = Refnum
           NUMB                     = Numb
           REFNUM                   = Ticket_No
           SYSID                    = SYSID
            TABLES
              NOTIF_PARTNERS           = it_NOTIF_PARTNERS
            NOTIF_NOTES              = it_NOTIF_N_EXT
              NOTIF_SAP_DATA           = it_NOTIF_SAP_DATA
            NOTIF_TEXT_HEADERS       = it_NOTIF_TEXT_HEADERS
            NOTIF_TEXT_LINES         = it_NOTIF_TEXT_LINES
            APPX_HEADERS             = it_APPX_HEADERS
            APPX_LINES               = it_APPX_LINES
            APPX_LINES_BIN           = it_APPX_LINES_BIN
             RETURN                   = RETURN
    Please observe how first and last line of attachement is calculated. That is what created problem for me initially.
    Hope this helps.
    Regards,
    Siddhesh S.Tawate

Maybe you are looking for

  • Additional Fields

    Dear EAM Experts, We want to add three additional data fields in the report IW38 . What is the exit available to add additional fields in IW38. Thanks, DSL

  • Compound boolean condition in ISE?

    Hello In ISE I have to define a complex condition as a requirement for an authorization policy. Like this: (member of group X) AND ((wlan id 1) or (wlan id 2)) Can this be done? I can see that I can enter multiple conditions but there is only one AND

  • Why do i need a recovery pass to sync my bookmarks??????

    I need to use my bookmarks, even if i don't have my PC close to me. It's totally pointless to impose to all users the recovery key system. I don't need full encrypted data, i need fast and easy access!!!!!! I need my bookmarks accessible to me everyw

  • Host Embed Submit PDF Form Online

    I have been scouring the web and apparently I am either asking for something that cannot be done.. or I am terrible at searching. That being said, I was not sure which forum this would best go under so feel free to redirect me as needed. A client gav

  • What extensions of file can we import in LV programs?

    I would like to create image whith indicators and controls whith LV. After this, images (whith ".vi" extension) will appear in a program developped in LV. Is it possible?