Doubt in Sending mail

Hi,
I Have to send mail from Report program to my lotus notes, using the FM CALL FUNCTION SO_NEW_DOCUMENT_ATT_SEND_API1.but unable to received it in my lotus notes inbox but can see it in outbox of SAP (SBWP).could you help me to resolve this issue.
Please guide me.
Thanks in advance.
Rajkumar P.

Hi Raj,
Any Ways... Here is the complete code to send mail to the lotus notes, which works very fine in my company,
you need to add the z tables in your system.
  DATA : L_NUMBER TYPE TSP01-RQIDENT.
  DATA : L_EKKO LIKE EKKO.
  DATA : L_TCURF LIKE TCURF.
  DATA : L_LFA1 LIKE LFA1 .
  DATA : BEGIN OF LT_TSP01 OCCURS 0,
          RQIDENT LIKE TSP01-RQIDENT,
          RQCRETIME  LIKE TSP01-RQCRETIME,
          DATE(8),
          TIME(8) TYPE N,
          END OF LT_TSP01.
  DATA : G_TEXT(50).
  DATA : BEGIN OF LT_EKPO OCCURS 0,
           EBELN LIKE EKPO-EBELN,
           EBELP LIKE EKPO-EBELP,
           NETWR LIKE EKPO-NETWR,
         END OF LT_EKPO.
  DATA : L_AMOUNT LIKE EKPO-NETWR.
  DATA : L_AMOUNT_TMP LIKE EKPO-NETWR.
  DATA : L_FAXNUM LIKE LFA1-TELFX.
  DATA : L_REAMT LIKE EKBE-DMBTR VALUE '10000000'.
  DATA : L_NUM1 LIKE EKBE-DMBTR VALUE '10000'.
  DATA : L_NUM2 LIKE EKBE-DMBTR VALUE '100000'.
  DATA : L_DATE(9).
  CONCATENATE SY-DATUM '%' INTO L_DATE.
  DATA: L_RECIPIENT_INT LIKE SADRUD.
    * Structures and internal tables for the send data
  DATA: LT_OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
  DATA: LT_OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
  DATA: LT_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
  DATA: LT_OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
  DATA: LT_RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
  DATA: L_DOC_CHNG LIKE SODOCCHGI1.
  DATA: L_TAB_LINES LIKE SY-TABIX.
  DATA: LT_USER_ADDRESS LIKE SOUSRADRI1 OCCURS 1 WITH HEADER LINE.
  DATA: L_SENT_TO_ALL LIKE SONV-FLAG.
  DATA: L_DOC_TYPE TYPE SOODK-OBJTP.
  DATA : L_Z16SPOOL LIKE Z16SPOOL.
MAIL SENDING
  DATA : LT_COMPRESSED_LIST LIKE  SOLI OCCURS 0.
*Select Po details.
  SELECT SINGLE EBELN EKORG LIFNR WAERS WKURS EKGRP
  FROM EKKO INTO CORRESPONDING FIELDS OF
                                    L_EKKO WHERE EBELN = P_NAST-OBJKY.
*select PO Net amount.
  SELECT EBELN EBELP NETWR FROM EKPO INTO CORRESPONDING FIELDS OF TABLE
                                    LT_EKPO WHERE EBELN = L_EKKO-EBELN.
LOOP AT LT_EKPO.
   L_AMOUNT = L_AMOUNT + LT_EKPO-NETWR.
ENDLOOP.
  CHECK L_EKKO-EKORG = 'MY20'.
check ( L_EKKO-EKGRP = 'M93'  OR  L_EKKO-EKGRP = 'M94'  OR  L_EKKO-EKGRP = 'M97' ).
  CHECK L_EKKO-EKGRP IN LR_EKGRP.
SELECT  RQIDENT RQCRETIME  FROM TSP01 INTO CORRESPONDING FIELDS OF
                      TABLE  LT_TSP01  WHERE RQOWNER = SY-UNAME AND
                                          RQCRETIME LIKE L_DATE.
                                          RQ2NAME = 'PURCHASE ORD'.
  SELECT  RQIDENT RQCRETIME  FROM TSP01 INTO CORRESPONDING FIELDS OF
                       TABLE  LT_TSP01  WHERE RQCRETIME LIKE L_DATE
                                        AND   RQIDENT EQ GS_RESULT-TDSPOOLID.
  IF SY-SUBRC =  0.
    LOOP AT LT_TSP01.
      MOVE : LT_TSP01-RQCRETIME(8) TO LT_TSP01-DATE,
             LT_TSP01-RQCRETIME+8(8) TO LT_TSP01-TIME.
      MODIFY LT_TSP01.
    ENDLOOP.
    SORT LT_TSP01  DESCENDING BY TIME.
    READ TABLE LT_TSP01 INDEX 1.
    L_NUMBER = LT_TSP01-RQIDENT.
    SELECT SINGLE * FROM Z16SPOOL INTO L_Z16SPOOL WHERE EBELN = L_EKKO-EBELN.
    IF SY-SUBRC = 0.
      DELETE FROM Z16SPOOL WHERE EBELN = L_EKKO-EBELN.
    ENDIF.
    CLEAR L_Z16SPOOL.
    SELECT SINGLE * FROM Z16SPOOL INTO L_Z16SPOOL WHERE SPOOL = L_NUMBER.
    IF SY-SUBRC = 0.
      EXIT.
    ENDIF.
Convert to Local Currency------
    SET EXTENDED CHECK OFF. 
    SELECT SINGLE * FROM TCURF INTO L_TCURF WHERE KURST = 'M' AND
                                     FCURR = L_EKKO-WAERS AND
                                     TCURR = 'MYR' AND
                                     GDATU GE SY-DATUM.
    IF L_REAMT NE 0 AND
       L_EKKO-WKURS NE 0 AND
       L_TCURF-FFACT NE 0.
      IF L_EKKO-WAERS = 'JPY'.
        L_AMOUNT = L_AMOUNT * L_NUM1.
      ENDIF.
      L_AMOUNT_TMP = L_EKKO-WKURS / L_TCURF-FFACT.
      L_AMOUNT_TMP = L_AMOUNT_TMP / L_NUM2.
      L_AMOUNT_TMP = L_AMOUNT_TMP * L_AMOUNT.
      L_AMOUNT = L_AMOUNT_TMP.
    ENDIF.
    SET EXTENDED CHECK ON.   "BA3K9A0CWA
      CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
        EXPORTING
          RQIDENT              = L_NUMBER
          DESIRED_TYPE         = 'OTF'
        IMPORTING
          REAL_TYPE            = L_DOC_TYPE
        TABLES
          BUFFER               = LT_COMPRESSED_LIST
        EXCEPTIONS
          NO_SUCH_JOB          = 1
          JOB_CONTAINS_NO_DATA = 2
          SELECTION_EMPTY      = 3
          NO_PERMISSION        = 4
          CAN_NOT_ACCESS       = 5
          READ_ERROR           = 6
          TYPE_NO_MATCH        = 7
          OTHERS               = 8.
     MOVE LT_COMPRESSED_LIST[] TO LT_OBJBIN[].
      CONCATENATE 'BPC PO :' L_EKKO-EBELN INTO G_TEXT       
      SEPARATED BY SPACE.                                   
      L_DOC_CHNG-OBJ_NAME = 'MESSAGE'.
      L_DOC_CHNG-OBJ_DESCR = G_TEXT.
****AS ATTACHEMNT
      DESCRIBE TABLE LT_OBJBIN LINES L_TAB_LINES.
      CLEAR LT_OBJPACK-TRANSF_BIN.
      LT_OBJPACK-HEAD_START = 1.
      LT_OBJPACK-HEAD_NUM = 0.
      LT_OBJPACK-BODY_START = 1.
      LT_OBJPACK-BODY_NUM = L_TAB_LINES.
      LT_OBJPACK-DOC_TYPE = 'RAW'.
      APPEND LT_OBJPACK.
****AS ATTACHEMNT
      DESCRIBE TABLE LT_OBJBIN LINES L_TAB_LINES.
      LT_OBJPACK-TRANSF_BIN = 'X'.
      LT_OBJPACK-HEAD_START = 1.
      LT_OBJPACK-HEAD_NUM = 0.
      LT_OBJPACK-BODY_START = 1.
      LT_OBJPACK-BODY_NUM = L_TAB_LINES.
      LT_OBJPACK-DOC_TYPE =  L_DOC_TYPE.
      LT_OBJPACK-OBJ_NAME = 'Attachment'(002).
      LT_OBJPACK-OBJ_DESCR = G_TEXT.
      LT_OBJPACK-DOC_SIZE = L_TAB_LINES * 255.
      APPEND LT_OBJPACK.
    * Fill the mail recipient list       *
     SET EXTENDED CHECK OFF.
      DATA: LV_VENDOR_EMAIL LIKE ADR6-SMTP_ADDR,
            LV_SUBRC        LIKE SY-SUBRC,
            LS_USER_ADDRESS LIKE BAPIADDR3,
            LT_RETURN       LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
      CLEAR: GV_VENDOR_EMAIL.                
      SELECT SINGLE ADR6~SMTP_ADDR
                    INTO GV_VENDOR_EMAIL     
                    FROM LFA1
                    INNER JOIN ADR6
                    ON LFA1ADRNR = ADR6ADDRNUMBER
                    WHERE LFA1~LIFNR = GS_PO_DOC-XEKKO-LLIEF
                    AND   ADR6~FLGDEFAULT = 'X'.
      CALL FUNCTION 'BAPI_USER_GET_DETAIL'
        EXPORTING
          USERNAME             = GS_PO_DOC-XEKKO-ERNAM
        IMPORTING
          ADDRESS              = LS_USER_ADDRESS
        TABLES
          RETURN               = LT_RETURN.
Vendor Email Address
      LT_RECLIST-RECEIVER = GV_VENDOR_EMAIL.    
      LT_RECLIST-REC_TYPE = 'U'.  "Internet Id
      LT_RECLIST-NOTIF_READ = 'X'.
      LT_RECLIST-NOTIF_DEL  = 'X'.
      LT_RECLIST-NOTIF_NDEL = 'X'.
      APPEND LT_RECLIST.
       CLEAR: LT_RECLIST.
       IF GV_VENDOR_EMAIL IS INITIAL.
Send Error Message
         LV_SUBRC = 4.
         PERFORM NOTIFY_USER_EMAIL USING LV_SUBRC
                                         LS_USER_ADDRESS-E_MAIL.
       ENDIF.
CC Common Email Address
      LT_RECLIST-RECEIVER = 'mailbox'. "
      LT_RECLIST-REC_TYPE = 'U'.  "Internet Id
      LT_RECLIST-BLIND_COPY = 'X'.  "Blind Copy /
      LT_RECLIST-NOTIF_READ = 'X'.
      LT_RECLIST-NOTIF_DEL  = 'X'.
      LT_RECLIST-NOTIF_NDEL = 'X'.
      APPEND LT_RECLIST.
      CLEAR: LT_RECLIST. 
      LT_OBJTXT = 'Dear Supplier,'.
      APPEND LT_OBJTXT.
      APPEND INITIAL LINE TO LT_OBJTXT.
      LT_OBJTXT = 'Enclosed please find attached our Purchase Order.'.
      APPEND LT_OBJTXT.
      APPEND INITIAL LINE TO LT_OBJTXT.
      CLEAR: LT_OBJTXT.
      CONCATENATE 'To accept this Purchase Order without further comment,'
                  'please reply, '
                  INTO LT_OBJTXT SEPARATED BY SPACE.
      APPEND LT_OBJTXT.
      LT_OBJTXT = '[ Do not reply to sender ]'.
      APPEND LT_OBJTXT.
      APPEND INITIAL LINE TO LT_OBJTXT.
      CLEAR: LT_OBJTXT.
      CONCATENATE 'However, to acknowledge at '
                  LS_USER_ADDRESS-E_MAIL
                  INTO LT_OBJTXT SEPARATED BY SPACE.
      APPEND LT_OBJTXT.
      APPEND INITIAL LINE TO LT_OBJTXT.
      APPEND INITIAL LINE TO LT_OBJTXT.
      LT_OBJTXT = 'Best Regards,'.
      APPEND LT_OBJTXT.
      APPEND INITIAL LINE TO LT_OBJTXT.
      LT_OBJTXT = 'Procurement Department,'.
      APPEND LT_OBJTXT.
      LT_OBJTXT = 'BASF PETRONAS Chemicals'.
      APPEND LT_OBJTXT.
Make E-mail Sender of PO the PO Creators Name
      SY-UNAME = GS_PO_DOC-XEKKO-ERNAM .
      SET EXTENDED CHECK ON .
    * Send the document by calling the SAPoffice API1 module
    * for sending documents with attachments
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = L_DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
        IMPORTING
          SENT_TO_ALL                = L_SENT_TO_ALL
        TABLES
          PACKING_LIST               = LT_OBJPACK
          OBJECT_HEADER              = LT_OBJHEAD
          CONTENTS_BIN               = LT_OBJBIN
          CONTENTS_TXT               = LT_OBJTXT
          RECEIVERS                  = LT_RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.
      LV_SUBRC = SY-SUBRC.    
      IF SY-SUBRC NE 0.
        L_Z16SPOOL-STATUS = ''.
      ELSE.
        L_Z16SPOOL-STATUS = 'X'.
      ENDIF.
      PERFORM NOTIFY_USER_EMAIL USING LV_SUBRC
                                      LS_USER_ADDRESS-E_MAIL.
      L_Z16SPOOL-SPOOL = L_NUMBER.
      L_Z16SPOOL-EBELN = L_EKKO-EBELN.
      L_Z16SPOOL-LIFNR = L_EKKO-LIFNR.
      L_Z16SPOOL-TELFX = L_FAXNUM.
      L_Z16SPOOL-FDATE = SY-DATUM.
      L_Z16SPOOL-FTIME = SY-UZEIT.
      INSERT Z16SPOOL FROM L_Z16SPOOL.
      CLEAR L_Z16SPOOL.
  ENDIF.
  FORM NOTIFY_USER_EMAIL USING IP_SUBRC
                             IP_EMAIL.
  DATA: LD_ERROR    TYPE SY-SUBRC,
        LD_RECIEVER TYPE SY-SUBRC,
        LD_MTITLE   LIKE SODOCCHGI1-OBJ_DESCR,
        LD_EMAIL    LIKE  SOMLRECI1-RECEIVER,
        LD_FORMAT   TYPE  SO_OBJ_TP ,
        LD_ATTDESCRIPTION TYPE  SO_OBJ_NAM ,
        LD_ATTFILENAME    TYPE  SO_OBJ_DES ,
        LD_SENDER_ADDRESS LIKE  SOEXTRECI1-RECEIVER,
        LD_SENDER_ADDRESS_TYPE LIKE  SOEXTRECI1-ADR_TYP,
        LD_RECEIVER LIKE  SY-SUBRC.
  DATA: LT_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
        LT_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
        LT_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
        LT_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
        LT_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
        LV_CNT TYPE I,
        LV_SENT_ALL(1) TYPE C,
        LW_DOC_DATA LIKE SODOCCHGI1.
  DATA: LV_STRING TYPE STEXT.
  DATA: LT_MESSAGE LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
  DATA: LT_ATTACH LIKE  LT_ATTACHMENT OCCURS 0 WITH HEADER LINE.
  SET EXTENDED CHECK OFF.
Email Subject and Body Message
  IF IP_SUBRC <> 0.
    CONCATENATE 'FP Mailbox : PO Num ' GS_PO_DOC-XEKKO-EBELN 'Delivery Failure'
    INTO LD_MTITLE SEPARATED BY SPACE.
    LT_MESSAGE = 'PO delivery failure!'.
    APPEND LT_MESSAGE.
    IF GV_VENDOR_EMAIL IS INITIAL.
      LT_MESSAGE = 'No Vendor Email Address was Found!'.
      APPEND LT_MESSAGE.
    ENDIF.
  ELSE.
    CONCATENATE 'FP Mailbox : ' GS_PO_DOC-XEKKO-EBELN 'was successfully delivered'
    INTO LD_MTITLE SEPARATED BY SPACE.
    LT_MESSAGE = 'PO was successfully delivered'.
    APPEND LT_MESSAGE.
    LV_STRING = GS_RESULT-TDSPOOLID.
    CONCATENATE 'Spool Number: ' LV_STRING INTO LT_MESSAGE SEPARATED BY SPACE.
    CONDENSE LT_MESSAGE.
    APPEND LT_MESSAGE.
  ENDIF.
Populate the subject/generic message attributes
  LW_DOC_DATA-DOC_SIZE   = 1.
  LW_DOC_DATA-OBJ_LANGU  = SY-LANGU.
  LW_DOC_DATA-OBJ_NAME   = 'SAPRPT'.
  LW_DOC_DATA-SENSITIVTY = 'F'.
  LW_DOC_DATA-OBJ_DESCR  = LD_MTITLE .
Body Message Statistic
  DESCRIBE TABLE LT_MESSAGE LINES LT_PACKING_LIST-BODY_NUM.
  LT_PACKING_LIST-TRANSF_BIN = SPACE.
  LT_PACKING_LIST-HEAD_START = 1.
  LT_PACKING_LIST-HEAD_NUM   = 0.
  LT_PACKING_LIST-BODY_START = 1.
  LT_PACKING_LIST-DOC_TYPE   = 'RAW'.
  APPEND LT_PACKING_LIST.
Add the recipients email address
  CLEAR LT_RECEIVERS.
  REFRESH LT_RECEIVERS.
  LT_RECEIVERS-RECEIVER   = IP_EMAIL.
  LT_RECEIVERS-REC_TYPE   = 'U'.
  LT_RECEIVERS-COM_TYPE   = 'INT'.
  LT_RECEIVERS-NOTIF_READ = 'X'.
  LT_RECEIVERS-NOTIF_DEL  = 'X'.
  LT_RECEIVERS-NOTIF_NDEL = 'X'.
  APPEND LT_RECEIVERS.
  SET EXTENDED CHECK ON.
Let's Make sender the PO Creator
  SY-UNAME = GS_PO_DOC-XEKKO-ERNAM.    
  IF LINES( LT_RECEIVERS ) > 0.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA                    = LW_DOC_DATA
        PUT_IN_OUTBOX                    = 'X'
      TABLES
        PACKING_LIST                     = LT_PACKING_LIST
        CONTENTS_TXT                     = LT_MESSAGE
        RECEIVERS                        = LT_RECEIVERS
     EXCEPTIONS
       TOO_MANY_RECEIVERS               = 1
       DOCUMENT_NOT_SENT                = 2
       DOCUMENT_TYPE_NOT_EXIST          = 3
       OPERATION_NO_AUTHORIZATION       = 4
       PARAMETER_ERROR                  = 5
       X_ERROR                          = 6
       ENQUEUE_ERROR                    = 7
       OTHERS                           = 8.
  ENDIF.
ENDFORM.   "FORM NOTIFY_USER_EMAIL
Thanks & Regards,
Dileep .C

Similar Messages

  • Doubt in send mail to MS outlook

    Hai,
    I tried to send mail to MS outlook sucessfully. The requirement is add interaction button like approve or reject with mail.
    Once the approver press button, the return value send back to sap and we need to handle that results.
    I hope the above description is enough to understand scenario.
    How to handle this,
    Thanks in advance,
    Tamil

    What you are describing can not be done with tradtional email out of SAP.   I understand that this can be acheieved with the use of Adobe Interactive Forms.  I would start there first.
    http://sdn.sap.com/irj/sdn/adobeforms
    Regards,
    Rich Heilman

  • Doubt in sender mail adapter

    Hi Everyone,
    Can we read and validate the attachment of the mail.If so how to do it.
    Thanks in advance,
    Sakthi

    Hi Sakthi,
       Please refere the below links:
      http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/52b240ac052817e10000000a1550b0/frameset.htm
    Let me know if you have any doubts regarding this.
    Thanks,
    sekhar.

  • Doubts on Sending E-Mail

    Hi All,
    I have just started with KM. I was able to create a folder and upload a file. Also, I was able to send e-mail for tht uploaded file.
    I was earlier trying to develop an application in Web Dynpro for sending mail. However, over there I got the foll. exception
    MessagingException javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
    I am wondering if SMTP was not configured for Web Dynpro application then how am I able to send mail thru KM.
    Please clarify.
    Regards
    Nikhil Bansal

    Hi,
    You should configure SMTP mail server then only u  can send a mail through KM
    Steps
    System Admin - System Config - Collaboration - Groupware Transports - Mail Transport - JavaMail Transport - SMTP Server.
    System Admin - System Config - KM - CM - Utilities - Channels - E-Mail Channel - Server for all affected channel entries.
    System Admin - System Config - UWL & Workflow - Workflow - Mail - Mail - SMTP Host
    Follow this links
    https://www.sdn.sap.com/irj/sdn/thread?threadID=130673
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5461
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1815
    Regards,
    Senthil K.

  • Sender "Mail" adapter - CSV file attachment

    Hi there
    I'm looking for some help in configuring a sender mail adapter that receives ".csv" files. I did read some blogs that mention using the "PayloadSwapBean" module to read the mail attachment instead of the mail content. My problem is to now convert the ".csv" file into a message. Is there a module that I can use ( is it the "MessageTransfomBean" ) and how. Any help would be appreciated.
    Thanks
    Salil

    Hi Salil,
    If you want to send a mail with a body and attachments, the message sender HAS to provide an XI message with attachments. I doubt a CSV file does justice.
    As Renjith said you need to convert CSV to XmL.
    A short description about the Standard Modules:
    MessageTransformationBean is a standard module used to apply the XSLT mapping to the adapter module by using <i>Transform.class</i> ( This xslt mapping is done to create a mail package, Dont confuse with the actual mapping in your case this is NOT for converting csv to xml).
    Also this module can be used to change the name and type of payloads by using <i>Transform.contentType</i>, <i>Transform.contentDisposition</i>, <i>Transform.contentDescription</i>.
    PayloadSwapbean is a standard module for replacing payloads with other payloads (SWAP)
    If you want to give each attachment a certain name use Parameters, <i>swap.keyname</i> for name of the payload and <i>swap.keyvalue</i>.
    I Hope the use of standard modules is understood.

  • Acrobat 9 Pro  " An error occurred while sending mail"

    Dear Gurus:
    Free ice cream to the person with the answer that works.      I use Vista OS, 32 bit;    IE (Primary) and Mozilla;   Outlook E-mail (primary) and Windows Mail.  The preceding has been the case for the last two years so "nothing has changed".    I used Adobe Acrobat 9 Pro for two years and designed a number of interactive forms and used the functionality as much as possible.   Overall a good experience with Pro 9
    Case in point, I designed an interactive employment application that was regularly used, updated and re-released over a period of about two years without incident.  It was set up to be completed online by employment applicants.  Once completed, they would click to  "e-mail the office"  the completed application then close the document.    It was set up with the button to send a form, and more precisely to send the form as .FDF to the mailto: address#1; address #2.   Again it worked fine using either Mozilla or IE until last week.      As usual, I made some minor edits to the existing body fields and left the buttons alone sine there was no need to bother them.
    I emailed  the revised  .PDF document to   "the web guy" who added it to the website- like all the times before.     I went online to  "test it" as usual so I filled it out.   When I click the button to send form to office, the option comes up to select the email client.   I use Outlook so I selected "Desktop E-mail Application",  click  OK  and then I immediately get the message  "An error has occurred while sending mail".      In the past without fail, the Outlook would open after 1-3 seconds and attach the   .FDF file with the normal  .FDF and data jargon.  no problem...      Also, I am aware of extending features to Reader and the licensing issue, but I doubt that is an issue.....
    So, before I posted here I tried a few things:
    A-  I tried opening the source  .PDF application locally on my PC and filled it out. I clicked the button to "sent the file" to myself.    To be clear this was not posted on the website, but it did open Outlook, create the email, add the .FDF and sent it to me.       HHHMMMM so it works locally....
    B-  Next, I started fresh with a blank adobe document page and added two items:  1- a text field and a new email submit button I created to send the data via FDF.    I set it up, it worked fine when I tested it locally on the PC and created the .FDF file and the Outlook email and I sent it to myself.     Then  I took this same little test file and added it to a different website I have access to, I re-published the site,  ccessed the form and  no dice......    I got the same message,  " an error occurred while sending mail"  when I clicked OK to use the Desktop Email Application.
    C- I read other posts and Googled for about 6 hours yesterday and  now I am missing clumps of hair.
    So, it seems something "happened" that will not let the email be created from an existing form; or a NEW form that are available for use on a website;  but BOTH  work just fine if accessed on a local PC. 
    Please , and thank you..
    Brian P.

    Hi Bill,
    Thank you for your follow up.       I'm not sure what you mean by,  "did I do a comparison to the original".    If you're asking whether I'm sure the .PDF and the .FDF are the "same" documents, they are...  however the problem is even if they were entirely different forms, my issue is once the submit form button is clicked, Outlook fails to initialize and attach the   .FDF file .
    I mentioned how I tried to recreate the "error" by building a new form from scratch in order to eliminate all the possible variables of having a bug in the form that had been updated so many times before without incident.   Even with the new form having just one text field and one submit form button,  it worked as needed when I used the .PDF file locally right from my PC by  filling out the field and submitting the form's  .FDF data to myself.      It opened the Outlookprogram, created the mail and attached the .FDF file.     I clicked "send" and away it goes  from "me" to "me" and I was able to open the email, click the .FDF then browse to the .PDF source form so the files could extract into the   .PDF.    All normal and all Okay ,  like 100 times before using the WEB, but not now... .
    Today,  even that simple form with one field and one submit button encounters the same  "An error has occurred while sending mail"  message upon clicking on the web based submit button.     The option comes up to let me select the email server and when I click  "OK" , the error notice comes up...    grrrrrrrrrrrrr
    In short, when the form is used in a website environment, it doesn't want to create the outgoing email with the .FDF file attachment.      Normally, it worked like a peach.
    ?? I dunno
    BP

  • Send mail using Internal Mail server doesn't work

    I can't send mail using my companies mail server, which requires authentication and port 587 to send.  We have a valid, non self-signed SSL certificate so that is not the issue.  I can send mail using Bell's mail server but that violates our regulatory compliance obligations. 
    The server using POP3 and one must login to get mail as well as send.  Unfortunately there is no otehr error message than the: error sending "mail subject".  No further details are provided and when we check the mail servers logs its clear the Pre isn't even attempting to connect to the mail server.  So the request to send mail isn't even being sent out.  That could be an issue with the Pre or with Bell but Bell support will only troubleshoot to the point of fidning out if you can send using their mail server.  We can so their support stops at that point.
    I still have v1.3.1 of the WebOS as v1.3.5 doesn't seem to be out for the Bell Pre's yet.  But from what I've read v1.3.5 is even worse at handling mail not better.  However, there may be a solution out there to this beyond sending the Pre's back (I doubt we can) as Balckberry's and iPhone's don't have this issue.
    Any advice is greatly appreciated.
    Post relates to: Pre p100eww (Bell)

    Further update on this problem.  It does send if I use TLS instead of SSL so that must mean that the Palm Pre doesn't use SSLv3 or higher.  As TLS is a viable security setting option to maintain compliance I can use that.  But still Plam should seriously consider upgrading tis SSL versioning.

  • Send mail by zip file format..

    Hi ALL,
    I have a one problem in sending mail through SAP.  I have file with more than 5MB in pdf format, this file i am unble to send. but below 5MB its successfully sending.
    so i m doubt is i have to zip the file, means if that file is more than 5MB.
    please any one tell me for above problem.
    Thanks,
    Srinivas.

    Take a look to the class CL_ABAP_GZIP.
    Regards.

  • Java Session problem while sending mail(using javamail) using Pl/SQL

    Hello ...
    i am using Java stored procedure to send mail. but i'm getting java session problem. means only once i can execute that procedure
    pls any help.

    props.put("smtp.gmail.com",host);I doubt javamail recognizes the 'smtp.gmail.com' property. I think it expects 'mail.host'. Of course since it cannot find a specified howt it assumes by default localhost
    Please format your code when you post the next time, there is a nice 'code' button above the post area.
    Mike

  • Configure different contacts in Send mail task

    Hi experts,
    please help in below doubt
    How to configure the send mail task to use different contacts in different environment with environment variable ?
    Thanks

    hi ,
    You can set your Recipient list in one variable then in send mail use can set that variable value in expression for
    TOLine.
    You can use below link;
    http://stackoverflow.com/questions/5075073/send-email-to-dynamic-recipient-ssis-send-mail-task
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • Sending mail  in Struts applns

    All,
    myself developing a website for my company for applying 'jobs ' by employees and visitors
    for regestering , functionality is similar to how we have in java.sun.com site when we login as a new user who does not have a sun account
    my doubt was when the user registers and then logs in, , he gets 'Welcome.. ... ' and also a mail is sent to him saying 'Confirmation of Account'
    this mail is sent along with subject , body
    i also have to implement something similar using Struts Framework ?
    Do i use Java mail ? or any other alternative?
    Rgds

    ... besides which you don't actually USE struts or JSP to send mail.
    Its just plain java code - the same as you would use in any java application.
    Struts/JSP have no support for sending email.
    They do let you run java code though.
    And the java code can call the appopriate class to send mail in java.
    Now what would the class be? [url http://java.sun.com/developer/onlineTraining/JavaMail/contents.html]JavaMail perhaps?

  • Using "send mail as" with google sync

    I recently migrated from an Android Phone to the Iphone 4s. I set my mail, contacts, and calenders up to sync through google sync. It is working well except the "send mail as" feature. I run 2 different email addresses through my gmail. I have my personal gmail address and my business domain address I use for work. On my android phone when I am composing an email on my phone I have the ability to choose wether I am sending the mail from my business or personal email. I have found this feature extremely useful.
    I got very excited after I read that you can enable "send mail as" on google sync with ios. I went to google sync site on my safari browser and enabled the feature. I then synced the phone again. I don't know what I am missing but I do not see an option in the mail app to change the address I am sending from? Is there something else I need to enable or I am missing a simple menu that is hidden? Any help would be appreciated. Thank You

    @Allan Sampson -
    Quote -
    You're welcome.
    Any problem with a 3rd party app is the responsibility of the app developer. In this case, that is Google with their Google sync program for the iPhone, so take it up with Google.
    End Quote -
    Very helpful.  Please stop spreading your FUD* you elitest know-it-all.
    This is NOT a google issue. It's an APPLE issue.  APPLE'S iOS Mail App does not properly support IMAP, the very popular, very standardized protocol with which gmail (and countless other mail services) communicates with any 3rd party.  (for clarity theres' also POP3 but doesn't matter here).
    Let's look at a few simple observations, k? 
    Sender aliasing with gmail (once configured in your gmail account) works with
    Thunderbird - a real IMAP client -and I think even with Outlook, arguably useless as a mail client by many yardsticks.
    It works in Thunderbird on Windows.
    it works in Thunderbird on a Mac.
    It works in Apple Mail.app, on a Mac.
    It works in the gmail app on iOS.
    Are you getting the sense there's a pattern here??  I am!
    It works EVERYWHERE there's a decent mail client to support it...
    But it doesn't work in APPLE'S MAIL on iOS.**
    Hmmmmm...
    Oh, ok.. you're right.  Must be a gmail thing...
    oh wait, didn't work when I set up my business email server either...  hmmm.
    Nahh.  You're right.  Still must be gmail's fault...
    </sarcasm>
    * Fear, Uncertainty, Doubt.
    ** It could probably work in ANOTHER imap client on iOS but we'll never know what such a thing looks like because AAPL won't allow it (!!?)  It could even work in Apple's client if they'd bring it up to circa 1998 standards..

  • Obiee 10g delivers cannot send mail

    hi i have tried to send mail to the user
    i have also disabled the firewall
    in the cmd i have checked
    TELNET SMTP.GMX.COM 587
    220 mail.gmx.com GMX MAIL SERVICES ESMTP {mp-eu002}
    i have also checked the ibots log file
    +++ ThreadID: 25dc : 2012-02-14 00:46:22.244
    iBotID: /users/administrator/_ibots/my new ibot/my new request
    [nQSError: 75006] Failed to send MAIL command. 5.7.0 Need to authenticate via SMTP-AUTH-Login {mp-eu006}
    +++ ThreadID: 25dc : 2012-02-14 00:46:22.247
    iBotID: /users/administrator/_ibots/my new ibot/my new request
    Exceeded number of delivery retries.
    ho to resolve the issue

    hi follow this
    gmx is providing free smtp server just create an id with gmx and in the job manager give the details in the mail tab
    http://gerardnico.com/wiki/detail/dat/obiee/bi_scheduler/obiee_scheduler_configuration_mail.jpg?id=dat%3Aobiee%3Ascheduler_mail_configuration_*
    give the credential like this
    senders address: [email protected]
    SMTP server:SMTP.GMX.COM
    smtp port:587
    check the option authenticate against smtp server
    username:[email protected]
    email password:XXXXXXXXX
    after that restart presentation services and bi scheduler
    if u have antivirus and firewall installed on ur pc disable it both
    in the cmd type this telnet smtp.gmx.com 587
    check whether you can communicate with the server if it doesnot pop up with any message host cannot connect then you ca send mail 2 you user wch u have assigned in you delivers..
    hope you got it any doubts send me a reply
    all the best

  • ERec: Standard workflow not sending mail

    Hi Experts,
    I am experiencing 2 different scenarios in Sandbox and development. In both the systems workflows WS51900008 and WS51900010 are active.
    Now when i try to register a candidate, the workflow gets triggered. But it is not sending any mail. I traced it in SWI1 and it stops at send mail. The log shows that the activity status (of activity 1035) is set as Planned. However in sandbox the activity status is set to completed. Hence in sandbox mail is sent and in development it is not sent.
    Note: The only difference in sandbox and development i could find out is that user WF-Batch is linked to a object type CP. Whereas this is missing in development.
    Can someone please help me in understanding why this difference in behavior?
    The system is on ERECRUIT 617 SP0002.
    Regards,
    Pradeep.

    Dear Pradeep,
    First u need to check weather RFC related to WF_BATCH is working or not ?
    GO to SM59, Logical Connections-> Workflow_Local_XXX  . test this  RFC weather it is working or not ?
    Go to TCODE ->SWU3, it is for Configuration of Workflows , check this as well .
    Maintain runtime environment-> Configure RFC Destination .Check Weather there is a Tick Mark OR Wrong Mark .
    Go To SU01, Check weather USER WF-BATCH is not locked .
    User WF-BATCH should have valid Email Address. eg : [email protected] .
    You can take help from below link as well .
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/Forgotten+Password+link+and+assigning+role+to+WF-BATCH+user.
    Hope, this will be helpful .
    If you have any other doubts feel free to clear .
    Regards,
    Pran

  • After years of use, AOL mail now won't send mail using firefox

    I have used AOL with FIREFOX for years. However, now it won't send mail, the send button, and the reply button are dead, inoperative.
    I have updated FIREFOX, it didn't help.
    I can't think of anything that has changed, although something no doubt has

    I have used AOL with FIREFOX for years. However, now it won't send mail, the send button, and the reply button are dead, inoperative.
    I have updated FIREFOX, it didn't help.
    I can't think of anything that has changed, although something no doubt has

Maybe you are looking for