Sending attachments in email

Greetings all,
Apologies if this is more SapConnect than Workflow-related, but I figured folks here are pretty knowledgeable
I have inherited a setup which is moving from a Lotus Notes connector to a standard SMTP internet mail server setup. The fun part is a certain workflow which sent a SOFM attachment as an attachment via Notes/Domino, which dutifully arrived at a .txt attachment with the original contents.
Switch to a standard SMTP-compliant server and all I get is an attachment which contains a persistent object reference:
<SID><client> SOFM      FOLnn000000000004EXTnn000000000nnn                                    <OBJECT>
The attachment filename itself is:
Q99_999 SOFM FOL99000000000099EXT99000000000999 OBJECT.OBJ
So it is clearly referring to the object, but where it was previously actually attaching the SOFM document itself it is now attaching the object reference.
My question: Where is this setting stored? I've gone through the varios SCOT settings and have tried to adjust settings for object/document type (started getting errors along the lines of 'conversion type not supported' or similar).
Any input appreciated.
Muchos grazias,
Mike

Hello Mike,
the first thing I thought of was the conversion rules in SCOT and I don't know of any other option (customizing) that could affect the way it works.
I have solved a similar problem in SCOT w/workflow which went like this:
- The (old) RSWUWFML-report attaches the persistent object reference to the workitem (as the old-style-SAP-Shortcut-Format) that enables the user to execute this workitem from the mail.
- When we installed the new SAP Gui it didn't worked anymore (because shortcut format .SAP changed).
- I have implemented in SCOT a conversion-exit that transformed the attachment into a .SAP-Shortcut that called a self-made-transaction to execute this workitem.
So, if no one else has any good idea of what to do about, I would propose to use a conversion exit in the SCOT. This scans for a FOL...object reference, uses some kind of function module to retrieve the content as text and then outputs a .txt-Attachment. This should work (but is more effort, as well).
Best wishes,
Florin

Similar Messages

  • How do I send attachments in email as an icon

    How do I send attachments in email as an icon

    I mean when I have dropped a photo into the email how do I then change that to an icon so that other non Mac users can see it easier

  • How do I send attachments by email from my iPad

    How do I send attachments by email from my iPad

    The thing to remember is that iOS email attachments start with the document itself, not from the Mail app.
    1. Select the thing you want to send in an app that handles it, (for example a Photo might be sent from Photos, a PDF from GoodReader etc.)
    2. Then tap the "share" button (which I see others have kindly posted screenshots for) and create an email containing that attachment.
    Peter
    <Link Edited By Host>

  • Sending attachments with emails in Javamail

    I'm trying to send attachments with emails using Javamail. Following is the code through which I'm trying to achieve that. It works as expected on a JRE1.6 environment. But on JRE1.5, the content of the file gets added to the mail body as text.I want the file to be sent as an attachment.
    Any pointers on the observed difference in behavior would be highly appreciated!
    String msgText = mailInfo.getMessage();
            String attachmentFileName = mailInfo.getFileName();
            MimeBodyPart mimeBodyPart = new MimeBodyPart();
            mimeBodyPart.setText(msgText);
            // create the second message part
            MimeBodyPart attachmentBodyPart = new MimeBodyPart();
            // attach the file to the message
            FileDataSource fileDataSource = new FileDataSource(attachmentFileName);
            attachmentBodyPart.setFileName(fileDataSource.getName());
            attachmentBodyPart.setDataHandler(new DataHandler(fileDataSource));
            // create the Multipart and add its parts to it
            Multipart multipart = new MimeMultipart();
            multipart.addBodyPart(mimeBodyPart);
            multipart.addBodyPart(attachmentBodyPart);
            message.setContent(multipart);The email in case of JRE1.5 is as follows
    {color:#0000ff}------=_Part_0_33189144.1233078680250
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Hi...Test Mail
    ------=_Part_0_33189144.1233078680250
    Content-Type: application/octet-stream; name=corba_architecture.pdf
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=corba_architecture.pdf
    Content-ID: Attachment
    JVBERi0xLjIgDSXi48/TDQogDTggMCBvYmoNPDwNL0xlbmd0aCA5IDAgUg0vRmlsdGVyIC9GbGF0
    ZURlY29kZSANPj4Nc3RyZWFtDQpIiUWPW07DMBBFV+A93E9QlWBP/Kj5awt8USFRbyBKnTQIkshK
    YfvYcQoaybrSzDkzFhCxQgemeWkUyKTXEIeSHMGjZXvHSFBJCpXUpQLcE+NIlbCHFw4pUxeuZQUv
    ueY25gYxk9mKmH9wtwvNpZ99M1+jc2wxXzxweHvf73AP9xGFhaIsTyC3/w6ZDYfxaxoHP8w4jmf/
    ------=_Part_0_33189144.1233078680250-- {color}

    Following is the debug trace obtained on running the program on 1.5.
    +12:45:57,218 INFO [MailerThread] EmailManager:306 - Sending message {toAddress [email protected],+
    +replyTo =null,+
    +cc =null,+
    +message =Hi...Test Mail,+
    +subject =test mail,+
    +contentType =null fileName =C:\docs\cbe\dist computing\A.txt }+
    Loading javamail.default.providers from jar:file:/C:/docs/cbe/lib/mail-1.4.jar!/META-INF/javamail.default.providers
    DEBUG: loading new provider protocol=imap, className=com.sun.mail.imap.IMAPStore, vendor=Sun Microsystems, Inc, version=null
    DEBUG: loading new provider protocol=imaps, className=com.sun.mail.imap.IMAPSSLStore, vendor=Sun Microsystems, Inc, version=null
    DEBUG: loading new provider protocol=smtp, className=com.sun.mail.smtp.SMTPTransport, vendor=Sun Microsystems, Inc, version=null
    DEBUG: loading new provider protocol=smtps, className=com.sun.mail.smtp.SMTPSSLTransport, vendor=Sun Microsystems, Inc, version=null
    DEBUG: loading new provider protocol=pop3, className=com.sun.mail.pop3.POP3Store, vendor=Sun Microsystems, Inc, version=null
    DEBUG: loading new provider protocol=pop3s, className=com.sun.mail.pop3.POP3SSLStore, vendor=Sun Microsystems, Inc, version=null
    DEBUG: getProvider() returning provider protocol=smtp; type=javax.mail.Provider$Type@77eaf8; class=com.sun.mail.smtp.SMTPTransport; vendor=Sun Microsystems, Inc
    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG SMTP: trying to connect to host "10.16.68.131", port 25, isSSL false
    +220 mailhost5.vmware.com ESMTP Postfix (mailhost5)+
    DEBUG SMTP: connected to host "10.16.68.131", port: 25
    EHLO sbanerjee
    +250-mailhost5.vmware.com+
    +250-PIPELINING+
    +250-SIZE 26800000+
    +250-VRFY+
    +250-ETRN+
    +250-ENHANCEDSTATUSCODES+
    +250-8BITMIME+
    +250 DSN+
    DEBUG SMTP: Found extension "PIPELINING", arg ""
    DEBUG SMTP: Found extension "SIZE", arg "26800000"
    DEBUG SMTP: Found extension "VRFY", arg ""
    DEBUG SMTP: Found extension "ETRN", arg ""
    DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
    DEBUG SMTP: Found extension "8BITMIME", arg ""
    DEBUG SMTP: Found extension "DSN", arg ""
    DEBUG SMTP: use8bit false
    MAIL FROM:<[email protected]>
    +250 2.1.0 Ok+
    RCPT TO:<[email protected]>
    +250 2.1.5 Ok+
    DEBUG SMTP: Verified Addresses
    DEBUG SMTP:   [email protected]
    DATA
    +354 End data with <CR><LF>.<CR><LF>+
    ------=_Part_0_3278348.1233126957281
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Hi...Test Mail
    ------=_Part_0_3278348.1233126957281
    Content-Type: text/plain; charset=us-ascii; name=A.txt
    Content-Transfer-Encoding: 7bit
    Content-Disposition: attachment; filename=A.txt
    Content-ID: Attachment
    adasdasdd
    ------=_Part_0_3278348.1233126957281--
    +.+
    +250 2.0.0 Ok: queued as 5BE5BDC100+
    +12:45:59,125 INFO [MailerThread] EmailManager:331 - Message {toAddress [email protected],+
    +replyTo =null,+
    +cc =null,+
    +message =Hi...Test Mail,+
    +subject =test mail,+
    +contentType =null fileName =C:\docs\cbe\dist computing\A.txt } sent to the SMTP server successfully+

  • Why can I not send attachments with emails?

    Since updating to Maverick have been unable to send attachments to emails. WHY?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Sending attachments with email from iPad

    Can I send attachments, such as a pages file, when I send an email from my iPad?
    Thanks for your help

    If you want to send photos, you can do it two ways:
    1. From Photos, tap the rectangle with the curved arrow, then tap the photos you want to send, then tap the Share button to create a new mail message.
    2. From an already created mail message, do a copy-paste from Photos to include photos in the mail message.
    Other apps are a little different. You can always copy-paste but that may get cumbersome.

  • Can not send attachments with emails on Me and aol Imap??

    I have an aol and MobileMe imap accounts set up with my mac mail, but I can not send any email with attachemnts no matter how small the smallest I have tried is 152Kb. I have been reeding the threads about not being able to send any email, but I can send and recive emails(with attachments) just not send with attachments.I have been able to send attachments with my aol Imap account before.
    I have recently signed up to Mobile me and created the Me Imap account, this is the first time I have had to send an attachment. Is it something to do with the Mobile me?? Any help much appreciated
    still relitivly new to Mac....

    Hi Kursten, and a warm welcome to the forums!
    Have you tried Port 587 instead of 25 for the .me account anyway?
    Mail>Preferences>Accounts>Outgoing SMTP>Server Settings...

  • Send attachments with Email in WebDynpro[Java]

    Hi All,
    Developing a webdynpro application in Java Which will  sending -mail.Is it Possible to send attachments[Ex: Excel/doc Files] in webdynpro ?How to do it ?Please Help me out..
    Regards,
    Ramganesh.

    Hi,
    Try this code;
    Properties properties = new Properties();
         properties.put( "mail.smtp.host", <>);
         Session session = Session.getInstance( properties, null);
         MimeMessage message = new MimeMessage( session);
         try
              MimeMultipart multipart = new MimeMultipart();
              BodyPart messageBodypart = new MimeBodyPart();
              message.setFrom( new InternetAddress( <sender mail id>));
              message.setRecipient( Message.RecipientType.TO, new InternetAddress( wdContext.currentContextElement().getP_Email_Id()));
              message.setSubject( "Subject");
              messageBodypart.setText( "Text");
              multipart.addBodyPart( messageBodypart);
              messageBodypart = new MimeBodyPart();
              messageBodypart.setDataHandler( new DataHandler( new FileDataSource( <Path of file>)));
              messageBodypart.setFileName( new FileDataSource( <Path of file>).getName());
              messageBodypart.setHeader( "Content-Type", "application/pdf");
              multipart.addBodyPart( messageBodypart);
              message.setContent( multipart);
              Transport.send( message);
         } catch (AddressException e1) {
              // TODO Auto-generated catch block
              e1.printStackTrace();
         } catch (MessagingException e1) {
              // TODO Auto-generated catch block
              e1.printStackTrace();
    Regards
        Vinod V

  • Sending attachments in email notifications

    Hi! Is it possible to attach files to email templates? IDM doc seem to have not too much info on this. Any help is greatly appreciated. Thanks.

    You can add this argument to the notify service
    <Argument name='attachments' value='$(Attachments)'/>
    here Attachments is a list containing mime type objects. i.e.your files
    Edited by: gdrien on Nov 8, 2007 10:21 AM

  • Sending attachments by email or webservice

    Hello,
    How is it possible to send a file attached to a PDF by mail or to a webservice ?
    Thanks by advance for any help
    Samuel

    Thank you for your help.
    I have decided to go by another option insead of HTML tag using the URL variable .
    Correct Script for manually placing set action inside signature field
    app.mailMsg({
    bUI: false,
    cTo: "[email protected]",
    cSubject: "Check Calculations and Sign as Approved",
    cMsg: "Please Sign Calculations from the following link:\n\n" +  this.URL,
    This script works well when manually placed as a set action inside of the signature field.
    However, when the same script is placed in a batch processing script the \n\n does not work any more.
    After the batch script is run the \n\n line feed have been placed in the signature fields as blank lines and are no longer showing the code and the set action does not work.
    Can you please advise how to code line feeds when placing scripts in batch processing?
    Script when placed in batch processing (with line feeds as \n not working)
    var g = this.getField("Preparedby");
    g.setAction("MouseUp", "var g =  app.mailMsg({bUI: false,cTo: [email protected],cSubject: Calculation for Checking and Signing',cMsg: 'Please check and sign the document for the Calculation from the link as follows:\n\n' + this.URL,});");
    Your continued assistance is very helpful, thank you.

  • How do send attachments from email

    I am new at this can anyone help me step by step easier to follow that way

    Hi bobby40272,
    You can follow these steps to send an attachment to your printer:
    1.  Open your email client and compose a new message.
    2.  Attach the file you want to send.
    3.  Make sure you have text in both the subject line and the body of your email.  
    4.  Enter the ePrint address for your printer in the To: field (also, make sure this is the only address the email is being sent to), and send the email.
    The email should print momentarily at your printer.  You can also check the status of your print job under the "Recent Print Jobs" section at http://www.eprintcenter.com.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Sending attachments with emails

    Hi,
    Can anyone tell me/show me how to send an attachment that is uploaded from the client?
    Thank you.

    Hi,
    Can anyone tell me/show me how to send an attachment that is uploaded from the client?
    Thank you.

  • Storing form information using cfm and sending attachments in email

    Hi. I am trying to have an email automatically sent to me when an html form is completed and also include an attachment that the user has attached when they hit submit. But whhen I go to run it, I get no errors however I don't even get the email.  So I can't debug because there is no way to set breakpoints in dreamweaver. Here are parts of my .cfm code. Thanks for your help in advanced.
    <CFMAIL TO=....my code>
    Data entered through form
    Date: #form.Date#
    Name: #form.Name#
    <cffile
    action="UPLOAD"
    fileField="form.datafile"
    destination="#GetTempDirectory()#"
    nameconflict="MAKEUNIQUE"
    />
    <cfmailparam file="#form.datafile#" disposition="attachment" type="text">
    </CFMAIL>

    Shilpa,
    Refer to [this|http://www.jguru.com/faq/view.jsp?EID=30251] link. It mentions that you have to use the absolute file path. I would suggest that you try using a simpler path where the path does not contain spaces.
    Thanks,
    GLM

  • No sending attachments in email?

    I thought Apple was trying to compete with the business friendly smartphones that have been out for years! This isn't new technology- is this feature coming soon?

    There is no way to know what is coming until Apple announces.
    Sorry. Maybe soon.

  • Attachments with emails are a PROBLEM!

    Boy...I just dread having to send attachments with emails. Even a simple, one page flyer in pdf form! I have high speed internet connection - but no matter what size the attachment the emails just won't send. They repeatedly time out and/or have the drop down menu pop up to select another server (have three different email addresses/servers). No matter what server I use the emails will sit in the "outbox" all day and sometimes more than one day before they actually get sent. Does this happen to anyone else? Ideas to fix? THANKS!!

    I am referring to new email messages, generated by me - sending to a recipient - that include attachments (usually pdf's) from my MacBook Pro. It is quite frustrating.... Thanks for your interest in helping me with this!

Maybe you are looking for