Sending RTF Emails from PLSQL To Outlook

Hi,
I am currently attempting to send an email from a plsql program to a Microsoft Outlook program in rtf format as I need the email to be in a particular format. I am using utl_smtp to do this along with rich text format codes. Unfortunately Outlook does not recognise the fact that the resulting email file is in rtf format and displays the item as plain text (i.e. it displays the codes).
Is there any way that Oracle can force Outlook to accept this format ? I've tried adding application/rtf as the mime type in the connection string but all this does is send the email as a word attachment when really what we need is for the email body to be in rtf format.
Thanks in advance,
Paul.

Hi,
I think you will find this is not an Oracle problem. Outlook uses the mime type to decide which application to open it with. The associations between types and applications are buried somewhere in the registry. And if it's not the mime type, it's the 3 letter extension that's used (but you didn't say what extension you were giving the attachment).
If you just open a .rtf file on this computer, the one with Outlook on, by double clicking it, what application does Windoze use to open it? I bet you will find it's Word.
HTH
Chris

Similar Messages

  • Problem sending email from abap to Outlook

    We have a program that sends an email from ABAP to the SAP Inbox using FM SO_NEW_DOCUMENT_SEND_API1, the email arrives at the SAP Inbox and then it's redirected to Outlook. This works fine in 4.6C
    We just upgraded to ECC 6, the same process does send the email to the SAP Inbox, but it doesn't go to Outlook. In the Recipient list TAB of the email, it appears the following attributes
    Recipeint             email-address     via internet
    Send attribs NONE
    Status Return    Status is never returned. Status mail is only sent to inbox if error occur
    Trans History : Status         Document Sent
                                                Wait for communications service
    The strange thing is that if I'm in the SAP Inbox, and create and email from there, this email does go to the SAP Inbox and Outlook
    Any ideas ?

    Do you have COMMIT_WORK = ABAP_TRUE (or 'X') in your FM call.  I had to make this change for ALL email sends when I migrated from 4.6x to next version.
    In transaction SOST, can you send it from there?  Is your service running constantly or periodically in development (it's usually not)...

  • To send an email from outlook to SAP user in SAP

    Hi,
    Is it possible to send an email from outlook to SAP user in SAP?
    Regards,
    Mizan

    Hi Mizan......
    Yes off course it is possible.
    Generally how we put the CC to our ionternal users like you have to put their email address while sending mail through SAP viq outlook.
    The mail will go from SAP but via. outlook and user will receive the mail in Outlook Integration and not inside B1.......
    If you want it in B1 then instead of sending mail you can send the same by choosing option Int......
    Regards,
    Rahul

  • Sending Email from PLSql Oracle 8.0.6

    Has anyone got any ideas or achieved this: Sending Email from PLSql for Oracle version 8.0.6 using the limited technology support in this version, i.e. UTL_SMTP & UTL_TCP are not supported.
    Any help will be greatly appreciated.

    Sending Email from PLSql for Oracle version 8.0.6 using the limited technology
    support in this version, i.e. UTL_SMTP & UTL_TCP are not supported.That's because they use Java and Java doesn't work with versions older than 8i. Does 8.0 support external procedures (I went straight from 7.3.4 to 8.1.6)? If so you might be able to cobble together some C to interface with smtp on the OS. Otherwise I think you're looking at writing some client-side application to do this.
    Cheers, APC

  • When i send an email from my phone - it does not update on my outlook calander

    when i send an email from my iphone - it does update on my comuter thru outlook. everything else updates immediately

    How did you get it running using Windows 98?
    You must be using POP3 instead of IMAP e-mail protocol.
    Read this
    http://en.wikipedia.org/wiki/IMAP
    Take note on number 3.

  • Can i send email from yahoo thru outlook from firefox?

    can't send email from outlook thru yahoo without upgrade thru yahoo. can i send email from here using outlook thru here or thru my yahoo acct.?

    Hi, if you have created an ePrintCenter account and added your printer to that account you can check its ePrint job history. At least that will give you more visibility to the status of any jobs you send to your printer via the ePrint service. Receiving the "no reply" confirmation message only indicates that the email you sent was received by the ePrint service and is being prepared for printing.
    Here's a link with more information you might find useful ePrint Service Help
    Hope this helps solve your problem
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • When I send an email from outlook on my computer, the email address appears in my iphone4 contact list.  How do I stop this?

    When I send an email from outlook on my computer, the email address appears in my iphone4 contact list.  How do I stop this?

    Blair84 wrote:
    Double check your contacts email, and if its incorrect, go to their contact and change it and save it or you can delete the email you put in, and manually type it in.
    Hope this helps.
    How would that help the original poster?

  • Sending HTML email from outlook 2013 exchange it comes broken to non outlook clients.

    Hi, when i send out email from my outlook 2013 where is configured Microsoft exchange account it comes broken to gmail clients. All html mail is broken and attachments comes like this file.jpg_ or adobe.pdf_ If i send mail to outlook user
    all is good but if client uses something else , they receive broken mail.
    Msg comes to gmail clients like this 
    http://community.office365.com/cfs-filesystemfile.ashx/__key/communityserver-components-userfiles/00-00-39-06-09-Attached+Files/4745.errror.jpg
    Without signature and normal phone and email. 
    Client is using windows 8.1.
    I started discussion here http://community.office365.com/en-us/forums/158/p/227602/704778.aspx#704778 but they sent me to your forum. You can read our discussion
    and see what i did already.

    Hi,
    Some question to help narrowing down the causes:
    1. Does this issue occur when using Outlook to configure the Gmail account, does the format change?
    2. Does this issue also occur when sending HTML emails to other remote domains?
    If the emails is fine when opening them on Outlook, it think Exchange does not change anything on the email. The issue occurs depends on how email clients open the email.
    Thanks,
    Simon Wu
    TechNet Community Support

  • Need to read Email from Lotusnotes and Outlook using Oracle

    Dear All,
    My database version Oracle 10.2
    I need to read Email from Lotusnotes and Outlook using Oracle.
    I have tried with below link
    http://sourceforge.net/projects/plsqlmailclient/The problem is i am getting some java error.
    Can anyone suggest me to proceed further.
    Cheers,
    San

    I am using the another function to read an email from pop3 server
    create or replace
    FUNCTION pop3 (
       username   VARCHAR2,
       PASSWORD   VARCHAR2,
       msgnum     NUMBER
       RETURN tstrings PIPELINED
    IS
       --POP3_SERVER             constant varchar2(19) := '127.0.0.1';
       pop3_server   CONSTANT VARCHAR2 (100)     := 'xxxxxx';
       pop3_port     CONSTANT NUMBER             := 110;
       --POP3_TIMEOUT            constant number := 10;
       pop3_ok       CONSTANT VARCHAR2 (10)      := '+OK';
       e_pop3_error           EXCEPTION;
       --E_READ_TIMEOUT  exception;
       --pragma exception_init( E_READ_TIMEOUT, -29276 );
       socket                 UTL_TCP.connection;
       line                   VARCHAR2 (30000);
       BYTES                  INTEGER;
       -- send a POP3 command
       -- (we expect each command to respond with a +OK)
       FUNCTION writetopop (command VARCHAR2)
          RETURN VARCHAR2
       IS
          len    INTEGER;
          resp   VARCHAR2 (30000);
       BEGIN
          len := UTL_TCP.write_line (socket, command);
          UTL_TCP.FLUSH (socket);
          -- using a hack to check the popd response
          len := UTL_TCP.read_line (socket, resp);
          IF SUBSTR (resp, 1, 3) != pop3_ok
         THEN
           RAISE e_pop3_error;
          END IF;
          RETURN (resp);
       END;
    BEGIN
    --UTL_TCP.CLOSE_CONNECTION (SOCKET);
       PIPE ROW ('pop3:' || pop3_server || ' port:' || pop3_port);
       -- Just to make sure there are no previously opened connections
       UTL_TCP.close_all_connections;
       -- open a socket connection to the POP3 server
       socket :=
          UTL_TCP.open_connection (remote_host      => pop3_server,
                                   remote_port      => pop3_port,
                                   --tx_timeout => POP3_TIMEOUT,
                                   CHARSET          => 'US7ASCII'
       -- read the server banner/response from the pop3 daemon
       PIPE ROW (UTL_TCP.get_line (socket));
       -- authenticate with the POP3 server using the USER and PASS commands
       PIPE ROW ('USER ' || username);
       PIPE ROW (writetopop ('USER ' || username));
       PIPE ROW ('PASS ' || PASSWORD);
       PIPE ROW (writetopop ('PASS ' || PASSWORD));
       -- retrieve the specific message
       PIPE ROW ('RETR ' || msgnum);
       PIPE ROW (writetopop ('RETR ' || msgnum));
       --PIPE ROW( 'LIST '||msgNum ); PIPE ROW( WriteToPop('LIST '||msgNum) );
       PIPE ROW ('*** START OF INTERNET MESSAGE BODY ***');
       LOOP
       dbms_output.put_line('entering');
          BYTES := UTL_TCP.available (socket);
         IF BYTES > 0
          THEN
             BYTES := UTL_TCP.read_line (socket, line);
             line := REPLACE (line, CHR (13) || CHR (10), '');
             -- WILL HAVE TO USE PLSQL FUNCTIONS (HAVE BOOKMARKED) TO GET THE MAIL
             -- IN THE PREFERRED FORMAT. CAN USE "REPLACE()"
             IF LENGTH (line) = 1 AND line = '.'
             THEN
                PIPE ROW ('*** END OF INTERNET MESSAGE BODY ***');
             ELSE
                PIPE ROW (line);
             end if;
         END IF;
          EXIT when length (LINE) = 1 and LINE = '.';
          -- PIPE ROW (line);
       END LOOP;
       --PIPE ROW( '*** END OF INTERNET MESSAGE BODY ***' );
       -- close connection
       PIPE ROW ('QUIT');
       PIPE ROW (writetopop ('QUIT'));
       UTL_TCP.CLOSE_CONNECTION (SOCKET);
    EXCEPTION
       WHEN e_pop3_error
       THEN
          PIPE ROW ('There are no mails !');
    END;I am getting the below output .
    21     pop3:sbssld1 port:110
    75     "+OK Lotus Notes POP3 server version Release 8.0.1 ready on SBSSLD1/SBPSS.
    47     USER [email protected]
    69     "+OK [email protected], your papers please.
    13     PASS password
    63     "+OK [email protected] has 1 message.
    6     RETR 1
    17     "+OK 1546 octets
    38     *** START OF INTERNET MESSAGE BODY ***
    9     Subject:
    48     X-KeepSent: A231D6D0:8485FE4B-65257AB1:0022E60F;
    23      type=4; name=$KeepSent
    46     To: [email protected]
    53     X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008
    95     Message-ID: <[email protected]mbnpparibasfs.in>
    48     From: [email protected]
    36     Date: Fri, 9 Nov 2012 11:51:14 +0530
    90     X-MIMETrack: Serialize by POP3 Server on SBSSLD1/SBPSS(Release 8.0.1|February 07, 2008) at
    23      11/09/2012 11:51:21 AM
    17     MIME-Version: 1.0
    37     Content-type: multipart/alternative;
    68     "     Boundary="0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6""
    27     Content-Disposition: inline
    (null)     (null)
    58     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6
    39     Content-type: text/plain; charset=UTF-8
    33     Content-transfer-encoding: base64
    (null)     (null)
    (null)     (null)
    76     DQoNCg0KUmVnYXJkcywNClNoYW5tdWdhbSBOYXRhcmFqYW4uDQpNb2IgOiA5NjI5MjUyNDI1DQpP
    76     ZmYgOiAwNDQgMjI1MDQ3MDAgRXh0biA0Nzc5DQoNCiB+SWYgdGhlIGZhY3RzIGRvbuKAmXQgZml0
    68     IHRoZSB0aGVvcnksIGNoYW5nZSB0aGUgZmFjdHMu4oCdIC0gQWxiZXJ0IEVpbnN0ZWlu
    (null)     (null)
    58     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6
    38     Content-type: text/html; charset=UTF-8
    27     Content-Disposition: inline
    33     Content-transfer-encoding: base64
    (null)     (null)
    76     PGh0bWw+PGJvZHk+DQo8cD5SZWdhcmRzLDxicj4NClNoYW5tdWdhbSBOYXRhcmFqYW4uPGJyPg0K
    76     TW9iIDogOTYyOTI1MjQyNTxicj4NCk9mZiA6IDA0NCAyMjUwNDcwMCBFeHRuIDQ3Nzk8YnI+DQo8
    76     YnI+DQogfklmIHRoZSBmYWN0cyBkb27igJl0IGZpdCB0aGUgdGhlb3J5LCBjaGFuZ2UgdGhlIGZh
    60     Y3RzLuKAnSAtIEFsYmVydCBFaW5zdGVpbjxicj4NCjwvYm9keT48L2h0bWw+
    (null)     (null)
    60     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6--
    (null)     (null)
    36     *** END OF INTERNET MESSAGE BODY ***
    4     QUIT
    42     "+OK Lotus Notes POP3 server signing off.
    "Now pls suggest me how can i store the sender mail id, receiver mail id, subject and body of the mail in a table.
    So that i can display the saved data in the above table as a mail in my separate application.
    Thanks in advance.
    Cheers,
    San

  • How to send ENCRYPTED email from 10v2

    Helllo,
    How to send ENCRYPTED email from 10v2 to end users who will receive their emails from Microsoft Outlook?
    I created a stored procedure to change user passwords. I need to email the users their passwords but the email message has to be encrypted since it contains user passwords. How do I use util_mail to send encrypted messages? The users will pick up their passwords through Microsoft Outlook. Thank you in advance.

    not sure what is the mechanics of decrypting (PGP maybe?)
    I have few tips ...
    1. look at DBMS_CRYPTO package
    2. create JAVA stored procedure (I'm sure there are some good samples to use java for encryption) to encrypt the body (this can be executed from pl/sql)
    3. save the body as a file on unix and encrypt it with unix command (this can be executed from PL/SQL utilizing UTL_FILE and JAVA stored procedure)
    4. forget sending the password in email and save the password on Oracle Apex site and configure access using single sign-on with transparent windows authentication

  • Cannot send an email from my alias Mobile Me account from the iPhone.

    I have a Mobile Me email account which works perfectly on my Mac and iPhone. I created a an Alias Mobile Me Account on the web.
    I am able to create a new email from the alias account on the Mac.
    The iPhone will not recognize the alias account, I cannot add it or sync the account.
    I cannot send an email from my alias Mobile Me account from the iPhone.

    To all frustrated MobileMe alias owners who want to send email from iPhone - please go to the feedback area of the apple.com and leave messages regarding this issue. I had a lengthy conversation with a tech support guy who agreed that this is a needed fix - he said to initiate a grass roots effort - and that by all of us leaving messages it will eventually get attention and fixed. Why would Apple give us the ability to create alias's, use them on mobileme website, on our mac mail programs, but NOT the iPhone, which is the MOBILE device. Silly. Please protest!! Thanks.

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • TS3899 When sending email from the Mail App or through other Apps, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design.

    When sending email from the Mail App or through other Apps on my iPad, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design, especially since I had already checked the From: address.
    iPad 4 running iOS 8.1.3

    3rd party email addresses have to be deleted on every synmced mac product, although I have 1and1.co.uk and my imac updatetes the mails in that account from mac mail.
    Yahoo etc is a 2 step deleting process but good to get your emails pushed when on the go.
    LJ
    http://www.facebook.com/The.Cowboy.Party

  • I am sending an email from one account on iphone 4s but the replies are coming into another account on my phone

    I have had an iphone 4s for about a year and have 4 email accounts that come in on it: verizon, gmail, my work, and icloud.  Periodically, I send an email from one account, it shows the message as sent from that account in my sent mail, but the recipient receives it from the gmail account and therefore replies to the gmail.  Has anyone had this happen?  It is almost as if my messages are bouncing into gmail when I send them, although on my phone it shows as having been sent from another account.  I have not had this happen on my computer where I have all of these emails coming in as well.  I thought perhaps it was me not being careful about which account I was sending from when using my phone, but the mail I sent this morning I was very careful to make sure was from verizon, the sent mail on my phone shows it was sent from verizon, and the reply came in on gmail.  Gmail isn't even the default email address- verizon is! My iphone is using version 6.1.3. Does anyone have any ideas? This is a major problem for me so I appreciate any ideas!  Thank you!!!

    I am not sure whether this is related, but I had a problem with Gmail where each time I sent and email via my iPhone it would bounce back in my Gmail account as unread. You migh want to check this Google article explaining why this happens and how to avoid it:
    https://support.google.com/mail/answer/1710338?ctx=gmail&hl=en-GB&authuser=0

  • I cannot send Yahoo eMail from iPad or iPhone, but I can receive

    I cannot send Yahoo eMail from iPad or iPhone, but I can receive.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

Maybe you are looking for