[b]How to Send Email Through Developer using Micrsoft Outlook[/b]

Here is the Code to Send Email From Developer 2000 using Microsoft Outlook(Note :- Outlook should be configured)
Steps:-
1. First Add the Wrapper Procedures for Outlook Express from the OLE Importer Utility such as
· OUTLOOK_ATTACHMENT
· OUTLOOK_MAILITEM
PROCEDURE SENDEMAIL(to_Person varchar2,subject varchar2,body varchar2) IS
EmailApp ole2.obj_type;
EmailItem Ole2.Obj _Type;
EmailAttachment Ole2.Obj_Type;
EmailAttach ole2. obj_Type;
aa number(5):=1;
begin
EmailApp:=ole2.create_obj('outlook.application');
EmailItem:=ole2. create_obj('outlook.mail item');
EmailAttachment:=ole2.create_obj('outlook.Attachment');
EmailItem:=Outlook_Application.create Item(Email App,Outlook_Constants.olmailitem);
EmailAttach:=Outlook_Mail Item.Attachment(Email Item);
Add attachment From Block
Go_block('BLK_ATTACHMENT');
FIRST_RECORD;
LOOP
Email Attachment:=OutLook_Attachment.ole_Add(EmailAttach,;BLK_ATTACHMENTS.attach,1,AA,ISPNAME);
AA:=AA+1;EXIT WHEN:SYSTEM.LAST_RECORD='TRUE';
NEXT_RECORD;
END LOOP;
Outlook_mailitem.OLE_to(EmailItem,TO_PERSON);
Outlook_mailitem.subject(emailitem,SUBJECT);
Outlook_mailitem.Ole_body(emailitem,MAIL.BODY);
Outlook_mailitem.send(emailItem);
End;

Here is the Code to Send Email From Developer 2000 using Microsoft Outlook(Note :- Outlook should be configured)
Steps:-
1. First Add the Wrapper Procedures for Outlook Express from the OLE Importer Utility such as
· OUTLOOK_ATTACHMENT
· OUTLOOK_MAILITEM
PROCEDURE SENDEMAIL(to_Person varchar2,subject varchar2,body varchar2) IS
EmailApp ole2.obj_type;
EmailItem Ole2.Obj _Type;
EmailAttachment Ole2.Obj_Type;
EmailAttach ole2. obj_Type;
aa number(5):=1;
begin
EmailApp:=ole2.create_obj('outlook.application');
EmailItem:=ole2. create_obj('outlook.mail item');
EmailAttachment:=ole2.create_obj('outlook.Attachment');
EmailItem:=Outlook_Application.create Item(Email App,Outlook_Constants.olmailitem);
EmailAttach:=Outlook_Mail Item.Attachment(Email Item);
Add attachment From Block
Go_block('BLK_ATTACHMENT');
FIRST_RECORD;
LOOP
Email Attachment:=OutLook_Attachment.ole_Add(EmailAttach,;BLK_ATTACHMENTS.attach,1,AA,ISPNAME);
AA:=AA+1;EXIT WHEN:SYSTEM.LAST_RECORD='TRUE';
NEXT_RECORD;
END LOOP;
Outlook_mailitem.OLE_to(EmailItem,TO_PERSON);
Outlook_mailitem.subject(emailitem,SUBJECT);
Outlook_mailitem.Ole_body(emailitem,MAIL.BODY);
Outlook_mailitem.send(emailItem);
End;

Similar Messages

  • How to send images through PI using SOAP adapter

    hi,
    Can anybody tell me how to send images through PI using SOAP adapter.
    Regards ,
    Loveena

    Hi Loveena,
    only as attachments of a SOAP message.
    Regards,
    Udo

  • I can't send emails through Yahoo using Firefox. Already contacted Yahoo and they don't know why it's happening.

    I can't send emails through Yahoo using Firefox. Already contacted Yahoo and they don't know why it's happening.
    == This happened ==
    Every time Firefox opened
    == a month agao

    I also cannot send email through Yahoo using Firefox 3.6.8. I can receive emails and surf the web just fine. I have also contacted Yahoo and have gotten no where.

  • How to send EMAIL through SmartForms

    Hi,
    Anyone plz help me how to send mails through smartforms.
    I want to send mails through smartforms.
    Plz suggest me regarding the same.
    Thanks & Regards,
    Sumivasu

    Hi Sumi,
    Same method as normal program, use the function SO_OBJECT_SEND.
    I'm sure you have tips about that in this forums.
    Regards
    Frédéric

  • How to send email through jsp

    can anyone please help me ...
    how do we send an email from a jsp page to any gmail,hotmail,yahoomail etc....
    what is the code for that
    if anybody know the solution it will be greatly appreciated ..
    regards
    santhosh
    9341208148

    I have a writeup that shows how to use JavaMail. It presents my EmailDelivery class (and example of how to use it) which I wrote to help me easily send emails from my Java applications using JavaMail. It supports relaying through SMTP servers that require authentication and has convenience methods for easily adding file attachments.
    Check it out at:
    http://timarcher.com/?q=node/53

  • How to send emails with photos using Photoshop Elements 12?

    I did everything according to the instructions, defined e-mail address, got the code and confirmation of the adress, but still when I try to send meile in the end there is symbol that the computer is trying to perform this task, but the minutes passes by, and nothing changes. I have spend a lot of time trying to fix it - with no success. I use Windows 8 and Microsoft OutLook. I have no problems sending other thing. I also have Mozzilla Thunderbird om my computer, but it is synchronised to OutLook (can use both of them, whichever I want).
    I bought Photoshop Elements 12 to send and edit photos. I'm close to that to give up this product, despite the fact that the rest of his functions as a judge very successful. It's great that there is a possibility to get a refund of the purchase of this product for 30 days from the purchase over the internet.
    Please, help me.
    Marcin

    Do you see Adobe Email dialog hidden along the right edge of the screen? Please try dragging that in the middle of screen and then send.
    Thanks
    Andaleeb

  • How to send email through oracle bpm suite 10.3.2?

    I need to send an email to a particular participant each time the instance change activities.
    I have created the "External Resource - Outgoing Mail" but to use the code below, I had no success ...
    do
              Mail.from = "[email protected]";
              Mail.recipient = "[email protected]"
              Mail.subject = "Hi";
              Mail.contentType= "Content-type: text/plain;";
              Mail.message = "Hello";
              send Mail;
         on e as Exception
              display "Error!";
    I use the Oracle BPM Suite 10.3.2
    Grateful.
    Wellington.

    Using your logic you'd need to set the SMTP field for the Engine.
    Since you configured the Outgoing Email External Resource, you might try this instead:
    mail as Mail
    mail.from = "[email protected]"
    mail.recipient = "[email protected]"
    mail.subject = "Hi"
    mail.message = "Hello"
    mailSender as MailSender = Fuego.Net.MailSender(mail : mail)
    send(mailSender, implname : "{name of Mail Outgoing Service}")Dan

  • Sending email through outlook

    Hi,
    i got a email functionality requirement , i need to send the report output to recipient inbox as an attachment, through outlook.
    i know how to send email from sap, but through outlook i am not aware,
    how to send email through outlook.
    can any one please help me.
    Thanks In Advance
    raagati

    Hi,
       check below link.
    How to send email from outlook to SAP inbox

  • About how to send ALV through email

    Hi  everyone ,
          I have a problem about how to send ALV through email  in background . if someone knows , pls tell me .
    thanks in advance
    Best Regard
    Nick

    I write a test program , but it doesn't work , use any exists ALV program in the system , and use the "sendlist " program to send the email.  what I want is when I restrict some conditons in the selection-screen , then it send ALV to Email .
    Thanks
    Nick

  • Can't Send Email through Outlook using blackberry as a modem

    I am using my blaclberry 8900 as a modem and cannot send emails through outlook. I have called t-mobile and they say that it cannot be done. However I could do it with my Nokia. Any suggestions?

    Outlook folder permissions are Outlook issues, try the Microsoft Outlook Forums.

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • How to set attched file name while sending email through ABAP

    Hi All- tell me how to set attched file name while sending email through ABAP.
    regards...
    Abhay

    Sure,  when you are adding your entry to the packing list,  give the name in the obj_name field.
    *File 2
      mailbin = 'This is file 2'.
      append mailbin.
      data: start type i.
      data: end type i.
      start = tab_lines + 1.
      describe table mailbin lines end.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = start.
      mailpack-body_num = end.
      mailpack-doc_type = 'TXT'.
      mailpack-obj_name = 'TEST2'.        "<-  RIGHT HERE
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
    Regards,
    RIch Heilman

  • Send email through applet

    Hello!
    Can anyone give me simple code of applet where i can send email through the form... and jar files or anything i have to import...
    Thank you very much

    Depends on how you want to handle it.
    If you want to send an email from the User's email program, you can execute a simple http request to "mailto:[email protected]" from within the applet by calling
    Applet.getAppletContext().showDocument("mailto:[email protected]")This will cause an email window to pop up using the user's email client.
    However, if you want to send email from within your program directly then you get into an area that is a little more complicated.
    First you would be using the javax.mail API. http://java.sun.com/products/javamail
    The problem you would have with this is that as an Applet you can only connect back to the server from which you came. So that server MUST have an SMTP process running on it. Otherwise you cannot send mail out since an Applet is not allowed to contact any other server other than it's own.
    If that security restriction is not a problem, then the example code at http://developer.java.sun.com/developer/onlineTraining/JavaMail/ should do everything you need.

  • Send email through Yahoo mail or Gmail with Java

    I have a java email program that can take a mail host name , port number and then send an email, but I don't want to use the mail host at work, I wonder if I can send email through my Yahoo Mail or Gmail account with Java, do they have any Java API that my program can log me in and send emails ? Any sample code available ? Thanks.
    Frank

    Thanks for reminding me, I did some search on "Yahoo" and "Gmail". For Yahoo someone posted some code that didn't work, for gmail, there seems to be a solution for sending email from command line. I wonder if I can send full fledged email : with CC, BCC, Attachment, Html email with images inside ...
    I've done it with a local mail host, but how to do it with Yahoo or Gmail ?
    Frank
    Have you read the JavaMail FAQ? Search for "Yahoo" and "Gmail".

  • How to send email via PL/SQL

    Hi guys,
    I have already read several topics about that subject. However, I haven't understood well. It is very complicated. Could somebody explain step by step or show a detail source about sending email through pl/sql?
    Thanks alot.

    876928 wrote:
    I have tried it, but I get this error.
    ora-29278 smtp transient error 421 service not available
    By the way I use gmail, I don't know how I change my settings? I mean Ain't I suppose to type my mails pass and username ?
    gmail won't forward your SPAM.
    you need to utilize local Mail Transport Agent that is explicitly configured to relay messages from DB Server

Maybe you are looking for