External Mail with hyperlink

Hi Experts,
                  I have done PO and PR release Strategy workflows and it works fine.Now i have an enhancement that i should send a notification to the Releasing Persons External Mail which i will do.
I should send a hyperlink to external id so that on clicking the link he should get to sap release screen how do i do this ? Can anyone help me on this
Regards,
Hari

Dev,
If you have the Outlook mail , then as others were suggesting, go for Extended Notification config. This has been discussed in various blogs here in the forum. Pl search with "Extended Notification config", Especially, the below one to get a good idea to start with.
How to get Work items @ your Outlook Inbox
by Saujanya..
and
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/content.htm
In that case also, the user will receive a mail with some attachment links like "Execute WItem" or "Display witem" etc., once he clicks on those links, it'll ask for single Sign-on, that authenticates the user in SAP system and depending on the task that the user is accessing from Outlook, it will open up that transactional screen to the user. for example, FB02, VA02 etc.,
Hope this helps
venu

Similar Messages

  • Send External mail with Attchment from SAP

    Hi All,
    OUR REQUIREMENT: We need to send EXTERNAL MAIL with ATTACHMENT(Excel) form SAP .
    We have developed a function module which converts the internal table data into Excel Format and sends it as an attachment to External Mail.
    ISSUE : But our issue is we are unable to open that document using GOOGLE DOCS Could any one help me how to do this.
    it was thriughing error like
    Error log is .
    ''Sorry, we are unable to generate a view of the document at this time. Please try again later.
    You can also try to download the original document by clicking here. Alternatively, you can view the plain HTML (automatically redirecting).
    Regards
    Venkat .
    Edited by: venkata pradeep on Mar 5, 2012 10:26 AM
    Edited by: venkata pradeep on Mar 5, 2012 10:28 AM

    Is the excel file recognized by MS Excel? If not, then issue is you have wrongly converted your attachment and/or your FM to create an excel file was wrongly coded or you have passed it wrongly to your mail code.
    If you consider an OOP approach in sending external mail, refer to this link:
    http://wiki.sdn.sap.com/wiki/display/Snippets/SendingmailwithattachmentusingObjectOriented+Approach

  • Problems in sent of external MAIL with the service SAPCONNECT

    Hello all
    We configured the service SAPCONNECT in my system quality  for sending the mail and this is not problem, I executed  tests with direction of mail internal and the are sent without any problem.
    But the problems starts is when I sent the mail external and the message that displays is
    Status received for this document:
         System Messages
    Sent on:
         25.01.2011 11:29:07
    Sent by:
         Marco Gerardo Ceballos V.
    Status for Recipient xxxxxxx@aaaaa:
         No delivery to xxxxxx@aaaaa, as recipient unknown
    The request of area of development is send the external mails.
    I review the configuration in the transaction SCOT and I not see a problem.
    ATTE
    Gerardo Ceballos

    Hi,
    Please check the parameter icm/server_port_1, if this parameter is not set, add in TX RZ10 with the value:
    PROT=SMTP,PORT=25
    Restart the instance, then create a service user with the S_A.SCON profile.
    In the SICF, open the SAPCONNECT service and check the configuration:
    Host data: profile parameter = 0 // host configuration= :
    Logon Data: Add the service user that you create
    Handler List: CL_SMTP_EXT_SAPCONNECT
    Save and active
    In the SCOT add the domain in menu settings and add the mailhost and port in the SMTP node, Click the button SET in the internet option and add a * in field address area.
    Go to SMICM --> Go to --> Services and check that the port that you add in the parameter icm/server_port_1 is active
    Go to SBWP and send the message.
    Good Luck
    AG

  • Can SAP send e-mail to external mail with attached file?

    Hi ABAP Guru.
    Can SAP send the E-Mail to external mail server? (e.g. Hotmail, Yahoo and so on.)
    And Can the E-Mail sent with attached file?
    And How to do that?
    Please give me your advice.
    Thank you and Best Regard,
    Nattapash C.

    Thank you very much! Amit Gujargoud.
    And I'm so sorry for my question that not clear for you and everyone.
    What I need to know is How to do with ABAP Code.
    I found the Function Module
    'SO_DOCUMENT_REPOSITORY_MANAGER' with method 'SEND' is being used for my case.
    but I don't know what field of structure RECIPIENTS (Table parameter of this Func. Module) that used for define recipient's E-Mail Address.
    Does anyone know the field or Have any method to solved my case?
    Please give me your advice.
    Thank you and Best regard.
    Nattapash C.

  • MLGR - external Mail with text in the body

    Hi,
    I have a little problem. I setup the MLGR-Message as defined in the wiki.
    It works fine with SBWP. There is the message text in the body. When I send it
    to an external email-address, then the text is a pdf in the attachment. I'd like to have the text
    also in the body of the external mail, so that the user don't have to open the attachment.
    What do I have do?
    Regards Ralf

    Hi Ralf,
    the easiest solution will be to switch to Medium 5.
    Transmission Medium 5: Communication Strategy - Message Control (CA-GTF-BS) - SAP Library
    and if necessary develop some lines of coding to find the correct mail-addresses and the content-stuff.
    Class CL_BCS is very good documented and is really easy to use.
    or another solution I found in my documents:
    Transaction SO16 --> Send Mail to homeaddress. But that implements that you just send mails to internal users.
    (And I'm not sure, if you just done exact that to get it to external users)
    The SCN-Search brought me this one, but that is what you already got I think:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e19d4c-b72d-2d10-72ad-a38a70c2a53f?quicklink=index&…
    ~Florian

  • CMWS CANNOT SEND EXTERNAL MAIL WITH EXCHANGE 2013

    Hi, all. i have integrated the cmws 1.5 server with exhcange 2013 mail server , now the webex can send mail to the user which in exchange, but cannot send mail to external mail server, how can i  fix this trouble? thank you.

    Hi Bin,
    Please look into exchange configuration, as it is not allowing emails from CWMS to be relayed to the Internet. This is not due to CWMS configuration.
    Thanks,
    Derek Johnson
    Conferencing TAC

  • Sending external mail with excel attachment from SAP

    Hi All,
    I am trying to send a external mail from SAP. Mail is getting posted correctly with attachment having type excel. If attach file has more than 1 records then in mail it is coming in a single lines. it is not getting wrap.
    e.g. my attach internal table has records like LINE1
                                                                      LINE2
                                                                      LINE3
    output in attach excel file is : LINE1         LINE2          LINE3
    in attach file it should come line by line.
    source code of my function module is as follows :
    FUNCTION ZXI_SEND_MAIL_WITH_ATTACHMENT.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(SUBJECT) TYPE  SO_OBJ_DES OPTIONAL
    *"     REFERENCE(ATTACH_NAME1) TYPE  SOOD-OBJDES
    *"     REFERENCE(EXT1) TYPE  SOODK-OBJTP
    *"     REFERENCE(MAIL_ID) TYPE  ADR6-SMTP_ADDR
    *"  TABLES
    *"      IT_CONTENT TYPE  SOLI_TAB OPTIONAL
    *"      IT_ATTACH TYPE  SOLI_TAB OPTIONAL
      DATA: send_request       TYPE REF TO cl_bcs.
      DATA: document           TYPE REF TO cl_document_bcs.
      DATA: sender             TYPE REF TO cl_sapuser_bcs.
      DATA: recipient          TYPE REF TO if_recipient_bcs.
      DATA: exception_info     TYPE REF TO if_os_exception_info,
      bcs_exception      TYPE REF TO cx_document_bcs.
      DATA i_attachment_size TYPE sood-objlen.
    Creates persistent send request
      send_request = cl_bcs=>create_persistent( ).
      TRY.
    *****Create txt mail document**************************
          document = cl_document_bcs=>create_document(
                                        i_type    = 'RAW'
                                        i_text = it_content[]
                                        i_subject = subject ).
    **************Creates Attachment 1***********************
          CALL METHOD document->add_attachment
            EXPORTING
              i_attachment_type    = ext1
              i_attachment_subject = attach_name1
              i_att_content_text   = it_attach[].
    Add document to send request
          CALL METHOD send_request->set_document( document ).
    Get sender object
          sender = cl_sapuser_bcs=>create( sy-uname ).
    Add sender
          CALL METHOD send_request->set_sender
            EXPORTING
              i_sender = sender.
          recipient = cl_cam_address_bcs=>create_internet_address(
                               i_address_string = mail_id ).
          CALL METHOD send_request->add_recipient
            EXPORTING
              i_recipient  = recipient
              i_express    = 'U'
              i_copy       = ' '
              i_blind_copy = ' '
              i_no_forward = ' '.
    **********Trigger e-mails immediately****************************
          send_request->set_send_immediately( 'X' ).
          CALL METHOD send_request->send( ).
          COMMIT WORK.
        CATCH cx_document_bcs INTO bcs_exception.
      ENDTRY.
    ENDFUNCTION.
    please suggest me a solution and thanks in advance.
    Thanks&Regards,
    Sachin

    See the sample code  for sending attachment as Mail
    Mailing with Attachment by ABAP Coding  
    Refer this link:
    Mail with attachment.
    FORM send_list_to_basis .
      DATA: w_path      LIKE rlgrap OCCURS 0 WITH HEADER LINE,
            lt_index    TYPE sy-tabix,
            doc_type(3) TYPE c,
            descr       LIKE it_objpack_basis-obj_descr,
            temp_data   LIKE w_path,
            temp1       TYPE string,
            tab_lines   TYPE i,
            langu(15)   TYPE c,
            expirydate  TYPE so_obj_edt,
            L_FILE1(100).
      CONCATENATE 'C:\' sy-repid '_' sy-datum '.XLS' INTO L_FILE1.
      W_PATH-FILENAME = L_FILE1.
      APPEND w_path.
      CLEAR w_path.
      wa_doc_chng-obj_descr  = 'User List not logged on for 180 days'.
      wa_doc_chng-obj_langu  = 'E'.
      wa_doc_chng-obj_expdat = sy-datum.
      CLEAR w_subject.
      CONCATENATE 'Please find attached document with list of users'
                  'not logged on for 180 days for client' sy-mandt
                  INTO w_subject SEPARATED BY space.
      it_objtxt_basis-line = w_subject.
      APPEND it_objtxt_basis.
      CLEAR it_objtxt_basis.
      it_objtxt_basis-line = text-004.
      APPEND it_objtxt_basis.
      CLEAR it_objtxt_basis.
      CLEAR w_tab_line.
      DESCRIBE TABLE it_objtxt_basis LINES w_tab_line.
      READ TABLE it_objtxt_basis INDEX w_tab_line  INTO l_cline.
      wa_doc_chng-doc_size =
       ( w_tab_line - 1 ) * 255 + STRLEN( l_cline ).
      CLEAR it_objpack_basis-transf_bin.
      it_objpack_basis-head_start = 1.
      it_objpack_basis-head_num   = 0.
      it_objpack_basis-body_start = 1.
      it_objpack_basis-body_num   = w_tab_line.
      it_objpack_basis-doc_type   = 'RAW'.
      APPEND it_objpack_basis.
      CLEAR it_objpack_basis.
      LOOP AT w_path.
        temp1 = w_path.
        descr = w_path.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = descr
            lang    = 'E'
          IMPORTING
            rstring = descr.
        CALL FUNCTION 'STRING_SPLIT'
          EXPORTING
            delimiter = '\'
            string    = descr
          IMPORTING
            head      = descr
            tail      = temp_data.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = descr
            lang    = 'E'
          IMPORTING
            rstring = descr.
        CALL FUNCTION 'STRING_SPLIT'
          EXPORTING
            delimiter = '.'
            string    = descr
          IMPORTING
            head      = temp_data
            tail      = doc_type.
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename      = temp1
            filetype      = 'BIN'
            header_length = 0
            read_by_line  = 'X'
            replacement   = '#'
          TABLES
            data_tab      = it_upload.
        DESCRIBE TABLE it_upload LINES tab_lines.
        DESCRIBE TABLE it_objbin_basis LINES lt_index.
        lt_index = lt_index + 1.
        LOOP AT it_upload.
          wa_objbin_basis-line = it_upload-line.
          APPEND wa_objbin_basis TO it_objbin_basis.
          CLEAR wa_objbin_basis.
        ENDLOOP.
        it_objpack_basis-transf_bin = 'X'.
        it_objpack_basis-head_start = 0.
        it_objpack_basis-head_num   = 0.
        it_objpack_basis-body_start = lt_index.
        it_objpack_basis-body_num   = tab_lines.
        it_objpack_basis-doc_type   = doc_type.
        it_objpack_basis-obj_descr  = descr.
        it_objpack_basis-doc_size   = tab_lines * 255.
        APPEND it_objpack_basis.
        CLEAR it_objpack_basis.
      ENDLOOP.
      it_reclist_basis-receiver = '[email protected]'.
      it_reclist_basis-rec_type = 'U'.
      APPEND it_reclist_basis.
      CLEAR it_reclist_basis.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = it_objpack_basis
          contents_txt               = it_objtxt_basis
          contents_bin               = it_objbin_basis
          receivers                  = it_reclist_basis
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      IF sy-subrc EQ 0.
        SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
      ENDIF.
    ENDFORM.                    " send_list_to_basis
    Reward points if useful
    Regards
    Anji

  • External Mailing with DIR status change

    Hi SAP gurus
    we have a particular senario,
    where in DIR of Particular Document types at reaching a particular document status, a mail has to sent to the concerned relevent authorities for corrections and Approval.
    (as and when the status changes to be mailed personalities also Changes)
    how can this be achived if the mail has to be sent to there company or external Mailing IDs apart from SAP mail.
    Can this  be done using Document Distribution?
    what is the Work  flow activities involved (if required) for enabling this functions,
    Thanks in Advance
    Kumar K

    hi kumar,
    you can do it by doc distribution and activating some standerd task. and for mailing to extenal mail id , you have to activate SMTP, by tcode SCOT
    but according to your requirement , you should consult to workflow consultent.
    regards,
    nitin
    award point if useful

  • Triggering multiple mails for external Mail id when PO is created

    Hi,
    I configured PO workflow and i used a standard program to send the mail to the external Mail id's of the users.
    The thing is when a PO is created the user whos has to release the PO is getting a Mail in Business Workplace through work flow and simoultaneously a mail will go to his external mail with a message that So and so PO is created please release it.
    As he cant keep on monitor his SAP Business workplace,whenever he get a mail to his external id,he will login to SAP and approves or rejects the PO.
    Here the probelm is the external mail is keep on triggering for every 15 min as we scheduled the Job for ever 15 min.
    So for the same PO number it is giving multiple mails to the external id until it is released.
    It should be like one mail should trigger for one PO number instead of multiple mails for the sam PO number.
    I'am unable to find the solution.
    Please guide me with a solution.
    With Regards,
    Praveen

    Hi Praveen,
    1> Goto transaction SWO1.
    2> Enter Object/Interface Name as BUS2012 and click on Create Subtype.
    3> Enter the required values (you can give ZBUS2012 everywhere....only give Application as R). Place cursor on methods and click on create. Enter details and finally give name of your function module (which you would be creating with the logic of sending mails to selected users) in ABAP tab.
    4> Place cursor on method name and click on parameters and create the required parameters. These parameters would receive value from task container.
    5> Finally goto transaction SWO6 and delegate this BO to parent BO (which is BUS2012). This would enable the methods of child BO to be available to the parent one.
    Try the steps and let me know wherever you get stuck.
    Best regards,
    Abir

  • How do I save an image with hyperlinks so it can be put in an e-mail?

    I designed an e-mail and used the slice tool to insert hyperlinks. Now I want to save it so that it can be put in the body of the e-mail with the hyperlinks active and usable. Any suggestions?
    Thanks!
    BI

    When you preview the image from the save for web dialog box, it will open your browser to see the image. It also will have the necessary html code needed for the links to work. Just copy that html code and add it to your email code with the image.

  • Internal and External Mail Exchange servers server not communicating with IronPort

    Hello Support Community,
    I have setup external mail exchange server and an internal mail exchange server to test out ironport, those two are not communicating via IronPort neither are they both recieving eachothers sent messages in their inbox, i have setup a smart host in both of those servers to point to ironport but thats still of no help. I have two smtp routes setup as well one's recieving domain: dummy.local which is external and its destination host: softheon.local which is internal which means its smart host is pointing to ironport's data 1. Is there something that im missing which is not letting these two mail exchange servers connect to each other as well as connect with the ironport to catch the msgs being sent
    thanks

    Are you trying to relay through the appliance, or just email the appliance?
    If trying to relay through the appliance, make sure the IP address of your exchange server is added to the RELAYLIST under the HAT (host access table) located under Mail Policies Tab - Host Access Table.  Click on the RELAYLIST and add the IP - submit and commit changes.
    If you are just trying to email the appliance, you may be getting dropped at the handshake level based on reputation (or lack thereoff).
    From your exchange boxes, open up a command prompt and telnet to the ironport on port 25 and initiate a command line email.
    So:
    telnet IP-OF-IRONPORT 25 (hit enter, you should connect up and see the IronPort banner)
    helo (type helo - from here you'll probably get dropped by the IronPort)
    mail from: [email protected] (if you dont get dropped put in your email address)
    rcpt to: [email protected] (put in the other email address)
    data (type data and hit enter)
    This is a test. (type anything, this is the message body)
    . (when done typing, type a single . (period) and hit enter.  The email should send if you got that far.
    You most likely need to add the IP addresses of your exchagne boxes to the WHITELIST under the HAT to resolve any reputation issues from your test exchange boxes.
    Regards,
    Chris

  • A distribution group with "require all senders are authenticated" checked still receives external mail

    a distribution group with "require all senders are authenticated" checked still receives external mail.  this does not happen for any other DG i am aware of.  this also happens from multiple external senders.
    please assist.
    thanks

    Hi,
    From your description, I would like to verify if the problematic Distribution Group is a member of other distribution groups that don't check "require all senders are authenticated".
    What's more, please check if there is any difference between this problematic distribution group and other normal distribution groups.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • CC with external mail for RFQ and PO

    Dear All,
    Mails are triggered to the vendors for RFQ and PO. The Purchase department does not get any report or system confirmation if the mails are successfully triggered or not. Having a CC to the external mails would confirm that the mails have been triggered by the system. Can we have a CC for all the external mails getting generated for the RFQs and POs? Is this technically feasible?
    CC : can be user sending the RFQ or PO.
    Regards
    Sushant

    Dear All,
    Mails are triggered to the vendors for RFQ and PO. The Purchase department does not get any report or system confirmation if the mails are successfully triggered or not. Having a CC to the external mails would confirm that the mails have been triggered by the system. Can we have a CC for all the external mails getting generated for the RFQs and POs? Is this technically feasible?
    CC : can be user sending the RFQ or PO.
    Regards
    Sushant

  • Can't send smartform to external mail address

    Hi, everyone.
    Now, after creating some self-defined smartforms, we want to send its
    PDF copy to
    our external mail address. From this point, I had some try.
    Reference to SAP Library, I make a testing program named 'YPDF_TEST'.
    However, one exception always exists when running and error message id
    is 'XS806' - means
    "No delivery to &, invalid recipient address"
    I filled the address with following fields.
    [ dev_mail_recipient-logsys = 'CLNT600'.
    dev_mail_recipient-objtype = 'RECIPIENT'.
    dev_mail_recipient-objkey = '[email protected]'. ]
    I just can't understand the real reason why it doesn't work.
    Through debugging, I found the error occurs when handling the following
    codes
    in function "SX_ADDRESS_TO_DEVTYPE".
    [ swc_create_object o_recipient 'RECIPIENT' recipient_id-objkey.
    swc_get_property o_recipient 'CommunicationType' m_recipient-type.
    get_property_longvalue o_recipient m_recipient-address. ]
    On the current situation, if can't come over this problem,
    we may not build the connection and don't provide information in time.
    Failed to send, I yet try another function - added the tail but on earthdidn't get it ~~~
    Would you give me some hints or advice ?
    Any help is appreciated.
    ====================
    <i>REPORT ypdf_test .
    DATA: fm_name TYPE rs38l_fnam.
    DATA: my_control_pars TYPE ssfctrlop. "for CONTROL_PARAMETERS
    DATA: my_output_info TYPE ssfcrescl. "for JOB_OUTPUT_INFO
    DATA: output_options TYPE ssfcompop.
    DATA: e_devtype TYPE rspoptype.
    DATA: gw_lcprint TYPE ziebsflc001.
    DATA: bin_file TYPE xstring,
    bin_filesize TYPE i,
    ndiv TYPE i, offset TYPE i,
    nmod TYPE i.
    DATA: BEGIN OF bin_table OCCURS 0,
    x TYPE xstring,
    END OF bin_table.
    DATA: lines LIKE tline OCCURS 0.
    DATA: dev_mail_sender LIKE swotobjid, "B20K061818
    dev_mail_recipient LIKE swotobjid.
    DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
    DATA: param LIKE itcpp.
    my_control_pars-no_dialog = 'X'.
    my_control_pars-getotf = 'X'.
    Get genereated function name of Smartform
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZDEMO_SMART_FORM_PPF'
    IMPORTING
    fm_name = fm_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    ENDIF.
    Get Device type
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    i_language = sy-langu
    I_APPLICATION = 'SAPDEFAULT'
    IMPORTING
    e_devtype = e_devtype
    EXCEPTIONS
    no_language = 1
    language_not_installed = 2
    no_devtype_found = 3
    system_error = 4
    OTHERS = 5 .
    IF sy-subrc <> 0.
    ENDIF.
    output_options-tdprinter = e_devtype.
    set needed mail option
    my_control_pars-device = 'MAIL'.
    dev_mail_sender-logsys = 'CLNT600'.
    dev_mail_sender-objtype = 'RECIPIENT'.
    dev_mail_sender-objkey = 'CHI_DEV03'.
    dev_mail_recipient-logsys = 'CLNT600'.
    dev_mail_recipient-objtype = 'RECIPIENT'.
    dev_mail_recipient-objkey = '[email protected]'.
    CALL FUNCTION fm_name
    EXPORTING
    control_parameters = my_control_pars
    mail_recipient = dev_mail_recipient
    mail_sender = dev_mail_sender
    output_options = output_options
    ip_carrid = 'ID'
    ip_connid = '8290'
    ip_fldate = sy-datum
    ip_bookid = '12345678'
    ip_customid = '09876521'
    ip_luggweight = 90
    ip_wunit = 'KG'
    ip_smoker = 'X'
    IMPORTING
    job_output_info = my_output_info
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Another try ***
    *DATA: param LIKE itcpp.
    *DATA: BEGIN OF off_obj.
    INCLUDE STRUCTURE soodk.
    *DATA: END OF off_obj,
    ok TYPE c,
    msgid TYPE symsgid,
    msgno TYPE symsgno,
    msgv1 TYPE symsgv,
    msgv2 TYPE symsgv,
    msgv3 TYPE symsgv,
    msgv4 TYPE symsgv.
    *DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
    *CALL FUNCTION 'CONVERT_OTF_AND_MAIL'
    EXPORTING
    mailoptions = param
    mail_sender = dev_mail_sender
    mail_recipient = dev_mail_recipient
    IMPORTING
    office_objid = off_obj
    mail_ok = ok
    msgno = msgno
    msgid = msgid
    msgv1 = msgv1
    msgv2 = msgv2
    msgv3 = msgv3
    msgv4 = msgv4
    TABLES
    mail_application_object_ids = dev_mail_applobj_tab
    otf = my_output_info-otfdata.</i>

    Hi,
    You can follow a different approach. Send the output of the Smartform to the spool.
    You have a Function Module to read the spool and convert it to PDF . Then there is one more function module to attach the PDF and send it as a mail.
    You need to configure SMTP in Tcode : SCOT.
    Search the forum with emailpdfattachment
    You have umpteen postings available.
    Pls reward if useful.
    Regards,
    Laxman Nayak

  • Sending from Business workplace to External mail ID

    Hi,
    Please Some help me on this issue am getting below error  when am trying to send mail from Business Workplace to External Mail
    Cannot process message , no route from SAPUSER TO abc123 at gmail dot com
    I done configuration by refereeing below.
    Please follow these steps:
    1.) tcode = SCOT
    2.) double click SMTP
    3.) under "SMTP Connection" section, fill in your mail host IP(ex: webmail.sap.com) and the port number(25) and code page = No conversion.
    4.) under "Supported address types", make sure Internet is checked, and click on "Set". The Address area has to be *
    5.) To test route,
    SCOT -->Utilities --> Routing test
    RecipientAddr.type = INT
    Recipient addr. = abc.xyz at sap dot com
    6.) You also need to set the Default Domain.
    SCOT --> Settings --> Default Domains (webmail.sap.com)
    7.)Now go to tcode SBWP,compose a mail and in the recipient address,enter abc.xyz at sap dot com and send.
    8.) Come back to SCOT and click on Utilities-->Start send process(CtrlF7) and execute.+
    Thanks,
    GAL

    Hi
    Same problem with me.
    Mails are not sending to external mail id.
    Pls help me out!
    Regards.

Maybe you are looking for