SMTP Email via Business Workplace

Hello SAP Experts,
I am trying to send an email via SMTP (Internet Address) on the Business Workplace tool, but it is preventing me to do so saying "Invalid Recipient Address".
As a background, we have a Lotus Notes C3000 Fax System, such that when you send an email with an address as shown below, it will send it as a Fax.
Here is an example of the email address:
"Temp[at]0041624543456#C3000#####FAX3[at]FCC-Fax"
Any idea how I can override this email address check on the Business Workplace/SAPConnect side?

Hi
When you configure the SMTP access using SCOT. When you click on SMTP, a window would pop-up SAPConnect: General Node Data",  select "Set" at the "Fax" type.
In the Address Area. put * as the entry.
Please try this link
http://www.interfax.net/en/help/sap_basis_services.html

Similar Messages

  • Error 1172 occurred when sending smtp email via labview

    I found these two useful vi example to send smtp email using Labview:
    http://decibel.ni.com/content/docs/DOC-7451
    http://decibel.ni.com/content/docs/DOC-2401
    However, I got error 1172 saying "No connection could be made because the target machine actively refused it 74.125.91.109:587". I'm using gmail to send emails and pretty sure that all the settings in the VI are correct. According to http://mail.google.com/support/bin/answer.py?answer=13287, I tried both 587 and 465 as the port, and nothing would help. 587 will give the 1172 error and 465 will hang the vi for a while after stopping it. This 1172 error is unlikely due to the suggestion from the 2nd link, "Note: If you receive Error -1172 with this example, try logging into the Gmail account with your browser.  This error can occur with Gmail accounts that have been inactive for a period of time.  You must log in with a browser and verify CAPTCHA text to reactivate the account." because the error kept on even when I login to my gmail account.
    I got myself a solution from http://stackoverflow.com/questions/2737823/unable-to-send-smtp-mail-with-net-network-issue, which says to turn off the antivirus software. I turned off McAfee on my PC and it did work. Now, I'm able to send email, even when I log out my account. However, I'm not happy since I have to keep my antivirus off. My question is, is there any way to walk around this issue? i.e. being able to send email with antivirus on?
    My 2nd question: how to send message to multiple recipients? The string array to the "recipient" does not work, and the form of "[email protected];[email protected]" does not work neither. Do I have to create multiple property nodes for the recipients or better way to do it?
    Many thanks 
    Message Edited by holyna on 06-14-2010 11:34 PM

    Hi Bhuvanesh,
    I noticed that the original thread here hasn't been updated in over a year. In the future, it will be helpful if you begin a new topic for your issue.
    I will first address your second question concerning sending SMS messages using LabVIEW. The only way LabVIEW can send an SMS text message is by passing an e-mail to the appropriate SMS gateway service. This gateway will vary by cellular provider. You will need to obtain the SMS gateway service information for each carrier you wish to push text messages to. 
    As far as the error you are receiving, we will need more information in order to narrow down your problem. What is the exact error message you're receiving? Are you receiving "1172: No connection..." or some other variation? A screen capture of your code would also be very useful.
    Regards,
    Andy C.
    Applications Engineering
    National Instruments

  • SMTP Email via JSP - is there no tag already?

    I intend to send an email as part of a JSP page, but searches on the internet and within these forums have resulted in scriptlets or java application examples.
    Is there not a simple tag that I can consider using instead? I do not want to mix code with my JSP and will probably write a custom JSP tag if I cant find one that has already been created - as part of JSTL / apache / someone reputable?
    It's hard not to compare this to PHP whereby they have some sort of simple sendmail call - very straight forward if I recall.
    Any help will be appreciated.
    Regards,
    Rob.

    [email protected] wrote:
    Is there not a simple tag that I can consider using instead? I do not want to mix code with my JSP and will probably write a custom JSP tag if I cant find one that has already been created - as part of JSTL / apache / someone reputable?Just create a Servlet which makes use of the excellent JavaMail API and/or calls those Java applications. There is certainly no need to write Java code in JSP files.
    Comparing PHP with JSP makes no sense. JSP is a web view technology for Java and PHP is a hypertext processor written in C.

  • This is regarding CBMA in SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the mails to Business workplace inbox in ECC.

    This is regarding CBMA in single stack SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the alert mails to Business workplace inbox in ECC.
    So I need to set up PI to redirect mails to ECC Business workplace user inbox (sbwp). From here rules are set up & routed per distribution list.
    Please guide me how I can achieve this requirement.

    Hi,
    yes, it is a little bit different. This is the issue.....  
    But I am not sure if your links will help:
    1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    is about a different solution. I do not need to count the number of lines of the source message.
    And the second variable is about concat line by line from unbound node to unbound node.
    My issue is:
    Souce:
    Message line (0...unbound) ! ! ! ! ! ! ! !
    .    ResultLine   (1..1)
    Mapping:
    =>   ResultLine1
           ResultLine2
           ResultLine........          => into UDF to an element  (1..1) in one mapping operation.
    So that all "ResultLine"s are included.
    The result is explained in the given link for Mail attachment with UDF.
    So I am not sure how to use this thread for my issue.
    In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
    So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
    2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
    shows where to find the button "Java section" which is not available here in 7.1
    3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.  
    So my issue is: How to replace the Java section function with global variables in PI 7.1?
    Best regards
    Dirk

  • Email via an SMTP server which needs authentication

    JSC bundles codes for emailing via an SMTP server which does not need authentication. But, can I get codes for emailing via an SMTP server which needs authentication?
    Thank you very much.

    I'd recommend the following free, open source library
    from Apache. It's powerful and simple to use.
    http://jakarta.apache.org/commons/email/
    I get the following exception when I use Apache commons. This occurs in both circumstances when SMTP authentication is needed or not.
    java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1252)
    at java.lang.System.getProperties(System.java:560)
    at org.apache.commons.mail.Email.getMailSession(Email.java:355)
    at org.apache.commons.mail.Email.buildMimeMessage(Email.java:748)
    at org.apache.commons.mail.Email.send(Email.java:897)
    at manamakal.test.ApacheEmailTest.button1_action(ApacheEmailTest.java:234)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
    at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
    at javax.faces.component.UICommand.broadcast(UICommand.java:312)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    |#]
    Any further help is very much appreciated.

  • Cannot send email via AOL on iPad2 - "A copy has been placed in your Outbox. Sending the message content to the server failed."

    My CEO has an ipad2 and I set it up w/ AOL.  She cannot send any email via her AOL account from her iPad.  She gets a message that says "A copy has been placed in your Outbox. Sending the message content to the server failed."   We've tried it on wifi and on 3G (Verizon version).  I've removed the account and added it, I've tried setting it up as an IMAP account vs. using Apples standard AOL mail setting and nothing seems to work.  The SMTP settings are smtp.aol.com, port 587.  I've tried adding an alternate server/smtp, but I haven't been able to find anything that works.  Any advice or other people having this issue?  It works fine sending an email from her aol web mail.  And unfortunately, having her sign up for a gmail account is not an option.  Thanks

    Interesting.  Firstly I have been on AOL since the early 90s with no current intention to switch as my primary personal email account.
    I have two email accounts on my iphone - AOL and my email from my business website.  I deleted both and then recreated first the business account and then the AOL account.  Same error.  Then I wasn't sure what you suggested but I turned off the AOL SMTP server and selected the business email SMTP server by turning it on with the same result.  I still get the error "A Copy has been placed in your Outbox.  Sending the mssage content to the server failed."
    Perhaps this problem will get fixed by IOS 6.   AOL will not talk to me unless I pay and Apple says its not their problem.  So for the time being I use the AOL web interface in the iPhone's Safari to send emails from the phone.

  • Copy of notifications (mails) not received in business workplace

    Hi,
    The users stopped receiving a copy of the notifications in their business workplaces sent via mail step in a workflow.
    The WF is using the SAP username to send the mails in the mail step of the workflow (we are not using the e-mail address, just the user name so the e-mail is obtained from SU01D).
    Do you know if there is any custimization particular of the user or in general where you can set up if a copy of the e-mail can be received in the business workplace as unread document?
    Thanks!

    Sorry, I was a bit confused that you said "The users stopped receiving a copy of the notifications". So did they receive them before? Did they get both 1) email and 2) notification in business workplace?
    At least I don't know a way to get notifications in business workplace if you have the above-mentioned "forwarding" setting on in SO16. I assume that if you turn it on, it simply forward everything to the email address and notifications are not coming to business workplace anymore. But if you said that it was working before, then I don't know how did you manage to get it working .
    I would understand that you have to steps in workflow One sends notfication and one sends email. But if you somehow get this working with only one step and then get a "copy" into business workplace and email both, that is great. I would be interested to know about how to achieve this.
    Regards,
    Karri

  • Recive/Send Emails VIA SAP

    Hi
    I am just wondering is there any way we can receive email via SAP B1. I know I can send email using the outlook add-on. Is there any add-on or program that can be used to receive emails directly to SAP B1? Basically I just want to replace outlook.
    Thank you very much for your help
    Sanjaya

    Dear,
    You can user SBO Mailer function in the SAP Service Manager
    For installing it, Go to the Server Tool folder > Double Click "Setup.exe" > Select
    "Modify" option > Select (Check) the SBO Mailer component > and finish
    the installation..
    I attached a note 1145354 for your information as below :
    Symptom
    The following troubleshooting information may be required in configuring
    the Mail Services, in addition to the information covered in the
    Administration Guide:
    1.  Ensure that You have already setup an e-mail account for SAP
        Business One users on your mail server. To verify the connection
        with the mail server, choose Test Connection.
    2.  The mail service checks the connection with the specified mail
        server and e-mail account and displays an appropriate message.
    If the SMTP server requires some authentication, for example if the SMTP
    server is configured to accept only login authenticated mails, but you
    selected No Authentication, the test connection will be successful.
    However, no e-mails are sent.
    To check whether the connection to the SMTP server works, send a test
    e-mail.
    If the connection fails, make sure:
        o  You have entered the correct name of your mail server.
         o  You have entered the correct user name and password.
    After changing any of the settings, restart the SBO Mailer.
    Other terms
    SBO Mailer, SMTP server, test e-mail, configuring Mail Services,
    Reason and Prerequisites
    FAQ
    Solution
    The SAP Business One mail service supports mail server authentication
    using user name and password. This note describes troubleshooting
    information in addition to the information provided in the  Administration Guide.
    Wish the information above is useful for you.
    Regards
    Apple

  • TS4002 I cant send email via icloud account.  I have a BT router for vision.  Can anyone help please

    I cant send email via icloud account.  I have a BT router for vision

    Thanks for the suggestion - it turned out that it was actually my workplace's network that automatically blocks external SMTP servers (for some security reason), so the email(s) sent perfectly once I went home and connected to May home network. Annoying!

  • I am having an issue using OS X Mail for email via IMAP

    Hi there.  I am trying to use OS X Mail to set up email via IMAP for Business Catalyst email, but I am getting an error when trying to connect to the IMAP server on port 143.  The Mail application connection doctor points to the incoming mail server as the problem.  SMTP seems to connect just fine.  I have also tried to connect via multiple ISPs and am getting the same issue.  All of my setup information looks to be just fine.  Any suggestions?  I am using OS X 10.9.3.

    I am having the same issue with Mac Mail — Version 7.3 (1878.6) running OS 10.9.4. All of the settings look correct with the correct ports, servers, and no SSL.  I've not been able to find a solution elsewhere online.
    RCsCloud Have you resolved your issue?

  • Unable to send out emails via outlook express since 06/29/2010

    Task '[email protected]" - Sending' reported error (0x80042109) : 'Outlook is unable to connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'        This is a copy/paste of error message from Office Outlook  2003
    Our household has been unable to "send" outgoing emails since 06/29/2010.  This includes a wireless laptop and a PC. We both lost the ability to send emails same day.  We changed NOTHING and did not share emails with each other that would have corrupted our system. During this time I have had 2 Verizon techs dance around in the PC doing all the same things I did as well as what  the automated assistant did.  The last tech said the Outlook Express 6.0 was corrupted, and to unistall it and then reinstall;  this time 2 hours later, I think he just gave up).  That did not work either.  I tried using the Outlook Office and still got an error message for outging. Everything is set up as it was when it was working until 06/29/2010.  I was told that there was a new server being installed and that things wold be working by 07/02/2010... I have tried taking down the firewall, turning off virus protection (McAfee), changing from outgoing.yahoo.verizon.net to just outgoing.verizon.net, checking boxes, unchecked boxes. SMPT is set to 587.  We get incoming fine.  I hate using the "Verizon email site" as too much monkey motion to get to mail, but that's what we have been doing.  I even tried setting up a GMail account, again got mail still could not send.  Any ideas?

    Thank you for your response!  I even tried sending an email via dos prompt  with Telnet, got past "HELO", but when trying to get a  "RCPT TO"  (using outgoing.yahoo.verizon.net)  I got an "authorization required" response and then was dropped.  I have been passed around without a solution. I am about ready to change ISP, but really hate to as most of the time (years now) this has been a decent ISP. If Verizon is having a problem just say so, I can handle it, honesty would be nice, refreshing and not wasting so much of my time as well as the techs!

  • Cannot send email via Hotmail through port 587 with Secure Connection (SSL) set

    Something is blocking my attempts to send email (with Outlook Express) via my hotmail.com account. The error I receive is as follows:
    Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'Hotmail', Server: 'smtp.live.com', Protocol: SMTP, Port: 587, Secure(SSL): Yes, Error Number: 0x800CCC0F
    When Hotmail.com first changed over to a POP3 server (Sept 2009), I could send emails through them using port 587, which they require. But then something happened, with no changes on my part, to disable my ability to send.
    I have checked and rechecked my Outlook Express account settings. I can send email through another third-party mail account (at 1&1 Internet.com) using port 587, which does not require setting SSL to yes. I can also ping the Hotmail SMTP server via port 587 and receive a response from it.
    I connect to Verizon DSL via a Westell 327W modem/router. Clearly it is not blocking port 587 without SSL. Does it have the capability to block SSL traffic? Or is the Verizon server the culprit, not allowing emails to be sent via Hotmail.com?
    Two different computers on my LAN have the same problem sending emails via Hotmail.com. I have tried everything the Hotmail people have suggested; at this point they think it is an ISP problem, hence this post. This problem doesn't make sense to me and is driving me crazy. Can anyone help me with this?
    Thanks.

    You can still have your reply address set to your hotmail address. And you don't have to really remember to do anything. Configure your client for the HOTMAIL account with Verizon's outgoing server. It will automatically send via Verizon. You don't reveal your verizon.net address, you are just using their server to transmit.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • After update, cannot send email via any accounts! Please help!

    First of all, thank you for reading my thread.
    After updating few days ago, I cannot send any email via any acounts. I have .mac email and yahoo email. But I still can receive emails. I have checked message borad, it said "Some members experienced difficulty sending .Mac Mail via computer email applications from 3:30 am to 6 am Pacific Time. Normal service has been restored." But mine hasn't!!! It has been almost a week!!
    The erro message says "cannot send email using this mail server, please choose one of the following server and retry again"
    My english is not very good, I hope you understand my question and any help would be appreciated, thank you again.

    Thank you very much for your reply!
    This is what I got:
    PING smtp.mac.com (17.250.248.45): 56 data bytes
    --- smtp.mac.com ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss
    PING mail.mac.com (17.250.248.152): 56 data bytes
    --- mail.mac.com ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss
    It seems the problem is the server, but it has been many days, I don't think apple haven't had notice this.
    What should I do next?

  • SO_DOCUMENT_SEND_API1 and Business Workplace

    Hello gurus,
    I'm using the FM SO_DOCUMENT_SEND_API1 to send emails (massively) with a pdf file as attachment. Unfortunately, I can't see the email in the outbox of my business workplace . Nevertheless all the recipients get the emails without problems. The sy-subrc after calling the FM is 0. Everything seems to go fine except for the missing entries in my outbox .
    Any help will be appreciated.
    Thank you,
    Jaime
    P.D. This is the way how I'm calling the FM:
      call function 'SO_DOCUMENT_SEND_API1'
        exporting
          document_data              = wa_doc_data
          put_in_outbox              = 'X'
          sender_address             = in_sender_address
          sender_address_type        = in_sender_addres_type
          commit_work                = 'X'
        importing
          sent_to_all                = w_sent_all
        tables
          packing_list               = it_packing_list
          contents_bin               = it_attachment_int
          contents_txt               = it_message_body_int
          receivers                  = it_email_receivers_int
        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.
      case sy-subrc.
        when 0.
    *     Todo bien!
        when 1.
          raise too_many_receivers.
        when 2.
          raise document_not_sent.
        when 3.
          raise document_type_not_exist.
        when 4.
          raise operation_no_authorization.
        when 5.
          raise parameter_error.
        when 6.
          raise x_error.
        when 7.
          raise enqueue_error.
        when others.
          raise unknown_error.
      endcase.

    Hello.
    please find the code below it will be more help ful to you
    DATA :
            IT_PACKING_LIST           TYPE TABLE OF SOPCKLSTI1,
            IT_CONTENTS_TXT           TYPE TABLE OF SOLISTI1,
            IT_RECEIVERS              TYPE TABLE OF SOMLRECI1,
            WA_DOCUMENT               TYPE SODOCCHGI1,
            WA_PACKING_LIST           TYPE  SOPCKLSTI1,
            WA_RECEIVERS              TYPE  SOMLRECI1,
            WA_CONTENTS_TXT           TYPE  SOLISTI1,
            IT_OTF                  TYPE table of  ITCOO,
            T_html_raw                type table of   ITCOO,
            T_SENDER                  TYPE SO_REC_EXT,
            T_ADSMTP_LINE             TYPE SZADR_ADSMTP_LINE,
            T_SENDER_TYP              TYPE SOEXTRECI1-ADR_TYP,
            T_pdf_xstring  type xstring,
            Tt_lines       type  table of tline,
            wa_lines       type tline,
            T_pdf_len      type i,
            it_docs TYPE STANDARD TABLE OF docs,
            L_SMTP_ADDR type AD_SMTPADR,
            MID(20) type c,
            wa_buffer TYPE string.
    *Importing the MAil Address from the Memory id
    *Pass the OTF data to the Internal Table
    IT_OTF  = job_output_info-OTFDATA.
    If not IT_OTF is INITIAL.
    *Convert the OTF data to ASCII
    Call function 'CONVERT_OTF'
           exporting
             format                      = 'ASCII'
           importing
             bin_filesize                = T_pdf_len
            bin_file                    = T_pdf_xstring       " binary file
           tables
             otf                         = IT_OTF
             lines                       = tt_lines
             exceptions
             err_max_linewidth           = 1
             err_format                  = 2
             err_conv_not_possible       = 3
             err_bad_otf                 = 4
             others                      = 5.
    if sy-subrc = 0.
    *PAss the ASCII data to the Body Of the Mail
    loop at tt_lines into wa_lines.
    wa_CONTENTS_TXT = wa_lines-tdline.
    append wa_contents_txt to it_contents_txt.
    clear wa_contents_txt.
    endloop.
    *Mail headder information **
          WA_DOCUMENT-OBJ_NAME  = 'SMARTFORM'.
          WA_DOCUMENT-OBJ_LANGU = SY-LANGU.
          WA_DOCUMENT-OBJ_DESCR = 'Interest Calculation' .
          WA_DOCUMENT-SENSITIVTY = 'F'.
    If email exist.
            WA_RECEIVERS-RECEIVER =  ur email addrees
            WA_RECEIVERS-REC_TYPE = 'U'.
            WA_RECEIVERS-COM_TYPE = 'INT'.
            WA_RECEIVERS-NOTIF_DEL = 'X'.
            WA_RECEIVERS-NOTIF_NDEL = 'X'.
            APPEND WA_RECEIVERS TO IT_RECEIVERS.
            T_SENDER = SY-UNAME.
            T_SENDER_TYP = 'INT'.
    *Passing the data to the Context Table
    Document Attachement information **
    CLEAR WA_PACKING_LIST-TRANSF_BIN.
          WA_PACKING_LIST-TRANSF_BIN = SPACE.
          WA_PACKING_LIST-HEAD_START = 1.
          WA_PACKING_LIST-HEAD_NUM = 0.
          WA_PACKING_LIST-BODY_START = 1.
          WA_PACKING_LIST-obj_name = 'Interest Calculation Letter'.
          DESCRIBE TABLE IT_CONTENTS_TXT LINES WA_PACKING_LIST-BODY_NUM.
          WA_PACKING_LIST-DOC_size = WA_PACKING_LIST-BODY_NUM * 255.
          WA_PACKING_LIST-BODY_NUM = WA_PACKING_LIST-BODY_NUM.
          WA_PACKING_LIST-DOC_TYPE = 'RAW'.
          APPEND WA_PACKING_LIST TO IT_PACKING_LIST.
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA                    = WA_DOCUMENT
      PUT_IN_OUTBOX                            = 'X'.
       SENDER_ADDRESS                   = T_SENDER
       SENDER_ADDRESS_TYPE              = 'B'
       COMMIT_WORK                      = 'X'
      TABLES
        PACKING_LIST                     = IT_PACKING_LIST
        CONTENTS_TXT                     = IT_CONTENTS_TXT
        RECEIVERS                        = IT_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.
    Thanks,

  • 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

  • Unable to Save a PDF from Photoshop CS5 on OS 10.7 Lion

    Does anyone know how to resolve this issue?  When I attempt to File>Print>Printer Settings>PDF>Save as Adobe PDF - Photoshop crashes.  I can create a PDF from Microsoft Word, but not Photoshop.

  • Canon Powershot G7 won't connect

    When I connect my Canon Powershot G7 to my MacBook (unibody) running OSX 10.6.4, it won't recognize my camera. Using Eos Utility, iPhoto and Aperture won't work. Other cameras do work without any problem. I understand that I can move the card to a re

  • ABAP WebDynPro User Interface Elements not shown on layout while designing

    Hi, When I create a new custom ABAP WedDynpro, the UI Element library is not shown on the view layout. I have tried a lot of options in exploring this. Kindly help me Thanks Sai.

  • C or C++ compiler (or even editor with some help) for OS X needed

    Hey, I would like to learn C and C++ and am looking for a compiler for OS X that generates executable files. An editor that helps you a bit would be even better. Does anybody know any kind of software for this? Maybe even freeware? Thank you, Jerome

  • Selecting multiple objects in Pages

    In Appleworks, I used to use the cursor to drag a rectangle around a collection of objects to select them all. Is there a quick select multiple objects in Pages?