Is there a function to open the outlook mail and to attach certain..

Hello,
Is there a function to open the outlook mail and to attach certain selected files?

here is a code snippet from one of our programs
  data: out type ole2_object,
        outmail type ole2_object,
        att type ole2_object,
        atts type ole2_object.
      create object out 'Outlook.Application'.
      call method of out 'CREATEITEM' = outmail
        exporting
          #1 = 0.
      set property of outmail 'SUBJECT' = 'Smartform Output from SAP'.
      call method of outmail 'ATTACHMENTS' = atts.
      call method of atts 'ADD'
        exporting
          #1 = p_file.
      call method of outmail 'DISPLAY'.
in our case, we save the data to a local file with the path p_file.
so, we create the attachment on a local drive, at path p_file
we open outlook
we create a mail item
we set the subject
we add the attachment
and we call disply, to pop the email up for any changes the user wants to make.
in other programs we also use
  set property of outmail 'TO' = alvline-prc_email.
to set the TO address of the email
hope this helps

Similar Messages

  • When I open the genre tab and choose a certain genre, it closes and shows the home screen...

    This only happens when I try opening a certain genre. It was working fine until today. I tried resetting it and turning off to see if it made a difference, but it clearly didn't.
    Hope there's a way I can fix this, thanks for the help

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • Not opening the selected mail in microsoft outlook web exchange

    Hi,
    I am not able to open the selected email from the inbox. It always opens the first mail and not the selected one.
    thanks..

    Hi jayvee and welcome to the BlackBerry Support Community Forums!
    Do you have your Outlook Web Access account integrated using the BlackBerry Internet Service or are you using the browser to access your email?
    Thanks
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Is there a way to open the right click menu on the left side of your pointer?

    Whenever I try to right-click an object that's located on the right side of the screen, the pointer always automatically click whatever entry in the right-click menu which just happens to be under the pointer the moment the menu is opened. I noticed that the reason this happens is because the right click menu always forces itself to open on the right side of the pointer, and when there isn't enough space, the right-click menu will open underneath the pointer. Since this is horribly inconvenient, is there a way to open the right-click menu on the left side of your pointer?

    Are you saying you have an icon on the far right side and when you rt click on it, your pointer ends up opening wherever it lands? That is a two step process, or normally should be at least a two step process. Do you have a Mouse in your Control Panel? You should check, because there may be some properties with which you can play. For instance, I can switch primary and secondary functions on my mouse buttons by checking a box.
    When I rt click on right side, the menu opens on the left.
    When I rt click on left side, the menu opens on the right.
    In order for me to take an action, I then have to move to an area in that menu and click.
    I hope I understood your question correctly.

  • How to send mail from adobe interactive form without opening the outlook

    Hello all,
    When the end user press the submit button i want it to send the XML data without opening the outlook or other mail application.
    Is there a way to do this?
    I tried javascript codes to send mail with UI = false but it did not work.
    Thank you all in advance,
    Eran

    mailForm
    Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
    Returns: nothing
    This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
    with or without user interaction depending on the value of  bUI.
    If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
    If bUI is set to false, the cTo parameter is required and all others are optional.
    You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
    The length limit for cSubject and cMsgBody is 64k bytes.
    Example:
    /* This will pop up the compose new message window */
    this.mailForm(true);
    /* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
    this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
    Note:
    This is a Windows-only feature. In addition, the client machine must have its
    default mail program configured to be MAPI enabled in order to use this method.
    I had to change the code:
    instead of this.mailDoc :
    var myDoc = event.target;
    myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );       
    But the outlook new message window still opens...
    Any Idea's?
    Eran

  • Outlook 2010 : Cannot start Microsoft Outlook. Cannot open the Outlook window.

    Hi
    Using Outlook 2010 with an Exchange 2003 back-end.
    Already have an Outlook profile (created in Outlook 2003).
    When launching Outlook 2010 I get:
      "Cannot start Microsoft Outlook. Cannot open the Outlook window"
    I've read several posts with this error message and a common "workaround" / "solution" was to run:  “Outlook.exe /resetnavpane”
    I tried that and it didnt resolve the issue.
    The only way I found to resolve this was to create a new Outlook profile.
    Launching with a new Outlook profile works fine.
    - Is this a "known issue" ?
    - Is there a way to diagnose / throubleshoot further without having to create a new profile?
    Thanks
    - AL

    Hi,
    Thank you for using Outlook IT Pro Discussions forum. 
    This problem can occur when file that maintains the Navigation Pane settings becomes corrupted. This file is called profilename.xml, where profilename is the name
    of your Outlook profile. Normally, we can resolve this issue by starting Outlook with the command
    Outlook.exe /resetnavpane
    or
    creating a new Outlook profile.
    Next time, you may also try to rename the profilename.xml from the folder first to see if the issue can be resolved:
    Windows XP: C:\Documents and Settings\username\Application Data\Microsoft\Outlook
    Windows Vista, Windows 7: C:\Users\username\AppData\Roaming\Microsoft\Outlook
    For more information, you can refer to this KB article:
    Error starting Outlook: "Cannot start Microsoft Office Outlook. Cannot open the Outlook window."
    http://support.microsoft.com/kb/2022778
    Best Regards,
    Sally Tang

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • Is there a way to open the mic using apple remote desktop

    Is there a way to open the mircophone channel using Apple Remote Desktop so I can listen on anything thats happening at my computer at home? If not is there another software that would work?
    Also is there a way to use apple's software to control and watch a PC?

    Is there a way to open the mircophone channel using Apple Remote Desktop so I can listen on anything thats happening at my computer at home? If not is there another software that would work?
    You would have to launch software that would accept audio from the microphone and transmit it to you in some fashion. ARD does not transmit audio itself. Another remote control solution such as Timbuktu might transmit audio, so you could look into that, perhaps.
    Also is there a way to use apple's software to control and watch a PC?
    You can install a VNC server on the PC and ARD can then take control of the system. It can be tricky to find a VNC system that will work with ARD, though, so search this forum for "VNC" for possible options. One of the applications that support Microsoft's remote desktop architecture such as their own Remote Desktop Connection Client for Mac or iTap Mobile RDP will probably work better, though.
    Regards.

  • Is there a way to open the notification pane using magic mouse?

    Is there a way to open the notification pane using magic mouse? i mean it would be great if i could two finger swipe to the right for the notification pane (two finger swipe left opens dashboard)
    I have Magic Prefs if it helps

    It doesn't seem like this is possible in 10.9.1.  Can someone at Apple confirm or provide a solution?

  • How do you get your old scores on your games when you transfer the games between devices ive signed into game center and my scores are there but when I open the games Im at 0 again

    how do you get your old scores on your games when you transfer the games between devices ive signed into game center and my scores are there but when I open the games Im at 0 again

    Did you do this?
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • I updated iOS 7 and my contacts were ok then they suddenly disappeared a few weeks after updating. I have no idea if it has anything to do with iOS 7 but when I email someone the contacts are there. When I open the app they are gone. What happened?

    I updated iOS 7 and my contacts were ok then they suddenly disappeared a few weeks after updating. I have no idea if it has anything to do with iOS 7 but when I email someone the contacts are there. When I open the app they are gone. What happened?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • "There was an error opening the database for the library "~/Pictures/Apert"

    Hey everyone,
    There's already another discussion thread about this at the link below, but the problem was never actually resolved. http://discussions.apple.com/thread.jspa?threadID=2343014&tstart=0&messageID=116 67261#11667261
    So I stumbled across this problem where Aperture 3 will display the following error when opening the image library.
    There was an error opening the database for the library “~[path]/Aperture Library.aplibrary”.
    One user suggested navigating to the actual library, and ⌘⌥-clicking the library to open it with the Aperture Library First Aid dialog. This however, did not work for me. I still received the error messages upon ⌘⌥-clicking the library.
    Here's a little hack I discovered for those of you still struggling. It doesn't fix the problem (leaves quite a large dent remaining actually), but hopefully someone can cultivate what little I discovered.
    ⌥-click Aperture (not the library)
    You should get to the library selection dialog box. Create a new library (bottom right corner) and remember the location of the new library. Put a few random pictures in the new one.
    Close Aperture
    ⌃-click both the old and new libraries and "Show Package Contents."
    Open the folder "Database" in both libraries.
    Cross check the folders to see if the old library is missing files that are in the new library. If your old library is missing some files (mine was), drag the missing files from the new library to the old one.
    Close both folders.
    ⌘⌥-click the old library.
    NOW, I got the Aperture Library First Aid dialog.
    Rebuild the library (3rd option)
    Wait a while.
    Aperture should open up with a folder named "Recovered Folder." Within this folder will be a SINGLE project named "Recovered Project" with ALL the images from your old library. There may be a few albums there too, but mine were all empty so it didn't matter in my case. To my knowledge, I lost all the adjustments I performed too.
    This is as far as I got. I have much of my library backed up, so I only needed to copy the most recent photos into the backup. I am NOT reorganizing and re-editing pictures in this one!
    As Aperture is a photo-organizing and photo-editing software, I understand that this by no means fixes the problem, since you lose all organization and editing. But it enables one to at least view the images lost. Hopefully a more knowledgable hacker else can figure out how to fix this completely. Unfortunately, I simply don't have the time to continue messing with this.
    Good luck to anyone else having issues! I understand the frustration you must be facing, its freaky having years worth of images simply disappear! After this incident, I'm definitely going to configure Time Machine to perform more frequent backups, since my latest backup was already a couple weeks old.

    Hey All,
    To my horror I have a similar problem and your solution didn't seem to help. To be specific, I get the error:
    "There was an error opening the database for the library “~/Pictures/Aperture Library_2.aplibrary" Everytime I try to run Aperture. This happened because my Apple computer shut off completely (due to bad battery) while importing photos from a memory card.
    I've tried "option + command" while clicking the aperture application and that gave me the same error message without any other option except to quit the program. I tried "option + command" and clicked the library package but that didn't work either. I tried creating a new aperture library, opening it which I did successfully, and then switching to my main one but that didn't work.
    Does anyone know away to get it to work again and have the edits still there?
    I'm a professional photographer and have thousands of photos or so in the library so this is distressing. The master files for the photos are located on an external hard drive, but I'm not sure how to access them in aperture. Are all the edits on the photographs are in the external hard drive or the aperture library. Is there any other way to resolve this issue without losing the edits?
    Does apple have a support number I can call? Any help would be greatly appreciated!!

  • I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library "~/Pictures/Family IIi.aplibrary". Please help, thanks

    I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library “~/Pictures/Family IIi.aplibrary”. Please help, thanks

    Are all three libraries under your account or are they in different accounts? Any other errros on the system?
    Start by doing the permission repair and library repair steps in Aperture 3: Troubleshooting Basics

  • Cannot Start Microsoft Outlook. Cannot open the Outlook Window. The set fo folders cannot be opened. You must connect to Microsoft Exchange with the current profil

    Cannot Start Microsoft Outlook. Cannot open the Outlook Window. The set fo folders cannot be opened. You must connect to Microsoft Exchange with the current profile before you can synchronize your folders with your Outlook data file (.ost)
    OK. This is a new outlook setup on a laptop. The mail account is on a MS Exchange Server 2010. The user can log on to their laptop no problem with their AD login and password. To setup the outlook profile we have checked the name OK. When we click finish
    and try to start outlook we get the above error message. It is driving me pots as I have tried also of things. I have tried to connect without catching the files. The error message then says that the Exchange Server is down, yet we checked the name OK and
    I can log on to the MS Exchange server and see the setup.
    What else is it that I need to look at as I have tried everything. I will add that they one service I see not running is the Exchange RPC service. If I try to start it, it fails saying Some services stop automatically if they are not in use by other services
    or programs.
    What can I do?

    The major cause of this problem is a corrupted Navigation Pane settings file – profilename.xml, where “profilename” is the name of your Outlook profile. A good sign that the
    file is corrupted is when the size of the file is shown 0 KB. No one knows the precise reason why this takes place, but all versions of Outlook from 2003 to 2013 may get affected.
    Other causes may be when you run Outlook in the compatibility mode, or if you are using a profile generated in an older Outlook version, or if the Outlook data file (.pst or .ost)
    was removed or damaged as the result of faulty uninstallation or reinstallation of MS Outlook.
    Follow the steps given below to resolve this problem
    1. Recover Navigation Pane configuration file
    2. Repair your Outlook PST file using Inbox Repair tool
    3. Create a new Outlook profil and import data from the old PST file
    4. Turn off Compatibility Mode
    5. Start Outlook in Safe Mode
    For more info, you can visit http://www.ablebits.com/office-addins-blog/2013/12/06/cannot-start-microsoft-outlook-solutions/

  • Question: Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages? - Problem: I have 1400 e-mails with attachments that need to be conv

    Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages?
    - Problem: I have 1400 e-mails with attachments that need to be converted into pdf and the attachments cannot be embeded.
    System: PC Windows 7 using Acrobat X Prof. - Thank you!

    Hi ,
    There is an option of embedding index for faster search while converting email to a PDF .
    However I am not sure that will serve your purpose or not .
    I would recommend you to get in touch with Microsoft support as well .
    Meanwhile I'll work on it and get back to you in case I get a desired solution .
    Regards
    Sukrit Dhingra

Maybe you are looking for

  • PayPal and Firefox Problem

    Hi, I am using the newest OS and whenevr I try and log into my Pay Pal account, it just seems to take forever, sometimes it will eventually log in where as other times it will "time Out" I've tried it on Safari as well but it also seems to take ages.

  • Do we need ask for points

    Hi friends, one more chance to share my latest query..... when i first started into this forum i used to request for points after answering questions....  But since a long time i dropped this idea since the poster of the question anyway knows and has

  • JAVA to Flex relation

    Now, we usually use Remote Class Annotation when we convert into the JAVA object from Action Script 3 Class Object. And we doubt when we convert that the declaration of the [public] is always necessity or not, about the scope of variable declaration

  • Firewire on Macbook

    As a FireWire user, I am disappointed to see the new Macbook does not have any FireWire connectivity. This is a requirement as we use FireWire disks extensively for backup and external storage in our company; it is simply a much more robust connectiv

  • Why does my battery go low fast?

    Why does my battery goes so fast ?