Cannot send BIS work emails from 8830

I have an 8830 that i use on BIS. I have 3 personal emails and one business. The personal emails work great. The question is on the business. I can receive all my work emails and reply to any of them. However when i create an email from within the "work" email, it NEVER goes through. Any help?
Message Edited by panther_5115 on 08-01-2008 08:24 PM

before you hit the send button, go to the header of the message and make sure in Send Using; your work email is listed, if not click on it and choose your work email address from the list and then send it
Message Edited by BBsingh on 08-02-2008 01:42 AM
Click on KUDOS to appreciate our efforts and mark the thread RESOLVED if your issue is resolved.

Similar Messages

  • Cannot send or forward email from Apple products since last update

    Since my last Apple update I am  unable send or forward mail from my ipad or iphone.  Because I can send / forward from my PC and webmail my email provider advises the issue is an Apple problem and that their tech support line has had numerous similar complaints.  I have hunted through settings and on-line with no success to date.  Any suggestions?

    suggest you delete the mail account, then re enter it.  But first, masker sure to check google for the current settings for their email set up.  sometimes they change server names or ports.  Existing accounts are not affected - but when you do a system update, the pad tries to initialize the account as new (as far as their servers are concerned) and if you are not using the current server names, it won't work.  (You using yahoo by any chance?)

  • Cannot send or receive email from the cloud. all updates are competed and everything else is working fine on MAC. iPad sends and receives fine. any ideas.

    On Imac I am not able to send or receive messages. All software is updated. My iPad that uses the same email address and the Cloud, sends and receives just fine. It is not "the colored" thing that is spinning but the little black and white circular icn that is spinning away. My other email address is functioning fine. It is merely the ICLOUD based email that is acting up. Any ideas?

    First try deleting the account and reinstall it.

  • Cannot send or receive email from laptop or desktop using icloud.  Iphone and ipad work fine.

    My mail server on my laptop and on my desktop are basically useless.  My ipad and iphone seem to be working fine. 

    The laptop seems to have been fixed by the fix listed.  My desktop, however, still is unable to receive or send mail. 
    this is the message I am receiving.
    There may be a problem with the mail server or network. Verify the settings for account “iCloud” or try again.
    The server returned the error: Mail was unable to connect to server “p99-imap.mail.me.com” using SSL on port 587. Verify that this server supports SSL and that your account settings are correct.
    thanks so much

  • Cannot send photos via email from within iPhoto

    Hi, I used to use the functionality to send photos directly from iphoeto by email, using the templates provided.
    It has always worked.
    I have not used it since the last update to iPhoto 9.3, but it does not work anymore.
    I get an error:
    "Your email did not go through because the server did not reply.
    Check your Internet connection. If the connection is working properly, the email server may be down. Try sending your email again later."
    My mail is working fine, I can send and receive.
    I did not change any email settings for a very long time.
    Settings in iPhoto seem fine.
    Anyone can help ?
    Thanks !

    In the iPhoto preferences ==> accounts delete that account and re-enter
    OR
    IMHO the better solution is to set Apple Mail as your e-mail client in the iPhoto preferences
    LN

  • I cannot send or forward email in Outlook from my iPad

    I cannot send or forward email from Outlook on my iPad

    Try deleting the mail account and setting it back up again.

  • I cannot send or forward email but I do receive mail OK. All of the same settings work on my wife's IPhone and our Ipad. All are running on IOS 5.0.1. I get a message of your email has been put in your outbox because the receipent "%@" does not allow rela

    I cannot send or forward email but I do receive mail OK. All of the same settings work on my wife's IPhone and our Ipad. All are running on IOS 5.0.1. I get a message of your email has been put in your outbox because the receipent "%@" does not allow relaying.

    Try deleting the mail account and setting it back up again.

  • Can't send or receive email from one account

    Just bought the iPod Touch last week. Set up Hotmail account with no problems. However my MacDialup.com account (used to be dial up, but is DSL now) won't work at all. They aren't set up to use SSL, so I turned that off after the iPod automatically tried it. I tried IMAP and POP, tried changing incoming server port number from defalt 143 to 110, triple checked spelling on every single entry including password. Tried calling my ISP tech support and talked to a tech who owns an iPhone and lives in the bay area, but he couldn't figure it out. I tried deleting the MacDialup account then syncing the Touch to my iTunes on my MacBook Pro (which has no problem sending or receiving email from this same account) and had the email settings imported from the MacBook Pro - still no luck. Tomorrow I'll try bringing both my MacBook Pro and iPod Touch into the Genious Bar. Maybe they can figure it out.

    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/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Cannot send or receive emails through three networ...

    Hi, please help!  Running round in circles!
    Cannot send or recive emails on E71 all of a sudden has stopped working!
    Three network say its not them and Virgin media say its nhot them (email address is blueyonder one).
    Help please?
    How can I take all off phone and restart?

    You probably need to revalidate your hotmail account. I read of some issues a ouple days ago affecting hotmail users. Also many hotmail accounts have to be revalidated every 90 days. CLick on the email setup icon on your BlackBerry and log in to your BIS(BlackBerry Internet Srvice) account. Click on email accounts, see if you need to re-enter your password for your hotmail account.

  • Cannot send or receive emails when connected to roaming wifi

    Recently I was traveling and stopped in a Starbucks for a coffee and to send some important emails from my MacBook Pro. I signed into the local AT&T WiFi but was unable to send or receive emails through my MobileMe accounts. I checked all the Airport and network settings and cannot figure out why it wouldn't work. Any ideas or solutions?

    Yes. I also tried my Cox account with no success. It would seem to me that MobileMe or another internet based account like Yahoo or Gmail would work, but Cox would require changing the POP and SMTP settings. I would think MobileMe would just work given that it is an IMAP account.

  • MORE PROBLEMS -NOW CANNOT SEND OR RECEIVE EMAILS A...

    Not been able to send or receive emails the whole day and still cant -11pm now !
    Had remote assistance helping from Newcastle earlier as when trying to receive or send it keeps asking for password -then it went to BT help and it told me it was the wrong password !?? Never touched it since it was set up -no,idea why it would be wrong ????
    I then rang up for help -the guy took over my computer and advised me to change my password -done that -no joy . Topld me to wait and he would ring back in 20 mins-rang back in 40 mins and still not working -tried everything -still not working.
    Then he said the servers were down and no idea when it would be working !!!
    Still cannot send or receive emails and its now 11pm !!!
    I had emails i was waiting for and not received .
    What do we actually pay for and what do we actually get ???????
    More hassle every day thats all.
    Had more problems with BT in the last few months since joining than Tiscali -and that really is scraping the bottom !
    Just checked the fault reports -guess what -NOTHING FOR THIS AREA -ALL FAULTS RESOLVED !
    NOT MINE THOUGH !!!!
     I HAVE HAD ENOUGH -I HAVE HAD TO CHANGE MY PASSWORD AS COULDNT RECEIVE EMAILS OR SEND THEM - CHANGED IT AND STILL CANNOT SEND OR RECEIVE THEM -ABSOLUTELY WELL AND TRULY P----ED OFF !

    gb1957 wrote:
    Not been able to send or receive emails the whole day and still cant -11pm now !
    Had remote assistance helping from Newcastle earlier as when trying to receive or send it keeps asking for password -then it went to BT help and it told me it was the wrong password !?? Never touched it since it was set up -no,idea why it would be wrong ????
    I then rang up for help -the guy took over my computer and advised me to change my password -done that -no joy . Topld me to wait and he would ring back in 20 mins-rang back in 40 mins and still not working -tried everything -still not working.
    Then he said the servers were down and no idea when it would be working !!!
    Still cannot send or receive emails and its now 11pm !!!
    I had emails i was waiting for and not received .
    What do we actually pay for and what do we actually get ???????
    More hassle every day thats all.
    Had more problems with BT in the last few months since joining than Tiscali -and that really is scraping the bottom !
    Just checked the fault reports -guess what -NOTHING FOR THIS AREA -ALL FAULTS RESOLVED !
    NOT MINE THOUGH !!!!
     I HAVE HAD ENOUGH -I HAVE HAD TO CHANGE MY PASSWORD AS COULDNT RECEIVE EMAILS OR SEND THEM - CHANGED IT AND STILL CANNOT SEND OR RECEIVE THEM -ABSOLUTELY WELL AND TRULY P----ED OFF !
    Hi.
    This sounds like one of the fleeting account problems that can happen from time to time, changing the password doesn't do anything and will not help.
    Unfortunately it can last for a few days, so best to keep trying every few hours.
    There are probaby a few reasons for this, including local anti-virus or other security programs interferring. Sometimes a router power cycle can help, by getting a new IP address in case the one you've curently got has gone stale.
    Are you able to login via webmail ? (or was this actually via webmail rather than something like Outlook or Thunderbird ?).
    If the servers were down, then it would affect millions of people, and there would be masses of reports.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • Can no longer send or receive email from any account after Security Update

    Hello,
    I have a problem with my email in Mail. I let software update install the latest security update (007) a few days ago. I have not been able to send or receive my email since the update. I have several accounts and use Mail as my client for all. This includes my mac.com account, 3 att.net accounts and my website email. All give me the same error which is an SSL thing and has something to do with the certificates. I am able to receive email if I turn SSL off on the ATT accounts but not the mac.com (and if I try to collect my email with SSL off I get an angry message from ATT warning me I am not allowed to do so) and I cannot send any at all from any account.
    The error message reads "unable to connect- there may be a problem with the mail server or network.... The server error encountered was: Mail was unable to verify the identity of this server, which has a certificated issued to "mail.mac.com". The error was: An SSL error occured while trying to read data from the server. Verify this server supports SSL and that your account settings are correct". It then states that the certificate could not be verified.
    The certificate date on the mac.com account reads May, 29th , 2010.
    I also have an iMac and a MacBook Pro which are also running Tiger. I have not and will not run the security update on these machines until I find out why it has messed up my email on the G5. I can still send and receive email with the exact same account settings on the MacBook so I know it is not the settings but something to do with the Security Update.
    Has anyone else had trouble with this update? Any advice?

    Hello and Welcome to Apple Discussions ...
    I don't know if this is a corrupted preference file or not, but it sure can't hurt to try this.
    If Mail is open, Quit Mail.
    /Users/YourName/Library/Preferences/com.apple.mail.plist
    Drag that .plist file to the Desktop. Launch Mail and see if you can send or receive e-mail. If you can, that .plist file is corrupted. Drag it to the trash, empty the trash and reboot. Your Mac will create a new preference file for you the next time you launch Mail.
    Also... run Disk Utility and Repair Disk Permissions. Disk Utility is in your Applications/Utilities folder. Launch DU, select MacintoshHD 10.x.x in the panel on the left, select the FirstAid tab, click Repair Disk Permissions. Quit DU when it's finished and reboot.
    Carolyn

  • I cant send or receive emails from my second email account on my iphone. i have uploaded i0S7 how can i fix this problem?

    i cant send or receive emails from my second email account on my iphone. i have loaded i0S7. i was told that it doesnt like two emails with the same address so i changed from a hotmail to a yahoo account and still not working. can anyone tell me whats going on? thank you

    Contact the email provider to troubleshoot the issue.
    hotmama4278 wrote:
    i was told that it doesnt like two emails with the same address
    That's a load of manure.

  • How do I send a group email from Droid MAXX Gmail android app?

    I have multiple groups setup in PEOPLE. How do I send a group email from my GMAIL app?

        glenholmes,
    You've come to the right place for help. Sorry to hear that you have had hard time with your Gmail app lately. What steps have you tried to get this to work? We want to ensure that you are able to start sending those messages right away.
    ErinW_VZW
    Follow us on Twitter @VZWSupport

  • Sending Unicode HTML email from Oracle

    Dear All,
    How we can send the HTML email from Oracle in Unicode format (I am using Arabic Language, to be specific). So far I have tried the following solutions (using utl_smpt) without any success (either i see junk characters in the email or see question marks). Would you please help me in solving this?
    Options Tried*
    Option 1
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE p_send_mail_test (
      2  sender IN VARCHAR2,
      3  recipient IN VARCHAR2,
      4  subj IN VARCHAR2,
      5  message IN VARCHAR2)
      6  IS
      7  mailhost VARCHAR2(30) := '<smtp Server>';
      8  c utl_smtp.connection;
      9  PROCEDURE send_header( name IN VARCHAR2, header IN VARCHAR2) AS
    10  BEGIN
    11  utl_smtp.write_data(c, name || ': ' || header || utl_tcp.CRLF);
    12  END;
    13  BEGIN
    14  c := utl_smtp.open_connection(mailhost,25);
    15  utl_smtp.helo(c, mailhost);
    16  utl_smtp.mail(c, sender);
    17  utl_smtp.rcpt(c, recipient);
    18  utl_smtp.open_data(c);
    19  send_header('From', sender);
    20  send_header('To', recipient);
    21  -- If you need to send mail to more than one receipient, uncomment the
    22  -- following line(s) as appropriate. Please don't forget the ","
    23  -- in the "To" line before the next receipient's email id. You can't
    24  -- use a comma separated list in the receipient parameter.
    25  -- For variable number of "To"'s and "Cc"'s have multiple calls to
    26  -- "send_header" function inside a cursor for loop.
    27  -- Similar comments apply for "Cc" too.
    28  -- send_header('To', ',<email@domain>');
    29   send_header('Cc', ',<email@domain>');
    30  send_header('Subject', subj);
    31  utl_smtp.write_data(c, utl_tcp.CRLF || message);
    32  utl_smtp.close_data(c);
    33  utl_smtp.quit(c);
    34  EXCEPTION
    35  WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
    36  utl_smtp.quit(c);
    37  raise_application_error(-20000,
    38  'Failed to send mail due to the following error: ' || sqlerrm);
    39* END;
    SQL>
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    p_send_mail_test('<email@domain>','<email@domain>','Hello',email_text);
      8*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result_
    <div align="right"><font size="4"><b>????? Riaz ???????</b>
    ???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
    .???? ???? ????? ???????? </font></div>
    [Question marks along with all tags; this OTN page is converting that to HTML output]
    Option2
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure html_email(
      2      p_to            in varchar2,
      3      p_from          in varchar2,
      4      p_subject       in varchar2,
      5      p_text          in varchar2 default null,
      6      p_html          in varchar2 default null
      7  )
      8  is
      9      l_boundary      varchar2(255) default 'a1b2c3d4e3f2g1';
    10      l_connection    utl_smtp.connection;
    11      l_body_html     clob := empty_clob;  --This LOB will be the email message
    12      l_offset        number;
    13      l_ammount       number;
    14      l_temp          varchar2(32767) default null;
    15      l_smtp_hostname varchar2(50) := '<smtp Server>';
    16  begin
    17      l_connection := utl_smtp.open_connection( l_smtp_hostname, 25);
    18      utl_smtp.helo( l_connection, l_smtp_hostname );
    19      utl_smtp.mail( l_connection, p_from );
    20      utl_smtp.rcpt( l_connection, p_to );
    21      l_temp := l_temp || 'MIME-Version: 1.0' ||  chr(13) || chr(10);
    22      l_temp := l_temp || 'To: ' || p_to || chr(13) || chr(10);
    23      l_temp := l_temp || 'From: ' || p_from || chr(13) || chr(10);
    24      l_temp := l_temp || 'Subject: ' || p_subject || chr(13) || chr(10);
    25      l_temp := l_temp || 'Reply-To: ' || p_from ||  chr(13) || chr(10);
    26      l_temp := l_temp || 'Content-Type: multipart/alternative; boundary=' ||
    27                           chr(34) || l_boundary ||  chr(34) || chr(13) ||
    28                           chr(10);
    29      ----------------------------------------------------
    30      -- Write the headers
    31      dbms_lob.createtemporary( l_body_html, false, 10 );
    32      dbms_lob.write(l_body_html,length(l_temp),1,l_temp);
    33      ----------------------------------------------------
    34      -- Write the text boundary
    35      l_offset := dbms_lob.getlength(l_body_html) + 1;
    36      l_temp   := '--' || l_boundary || chr(13)||chr(10);
    37      l_temp   := l_temp || 'content-type: text/plain;charset=utf-8' ||
    38                    chr(13) || chr(10) || chr(13) || chr(10);
    39      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    40      ----------------------------------------------------
    41      -- Write the plain text portion of the email
    42      l_offset := dbms_lob.getlength(l_body_html) + 1;
    43      dbms_lob.write(l_body_html,length(p_text),l_offset,p_text);
    44      ----------------------------------------------------
    45      -- Write the HTML boundary
    46      l_temp   := chr(13)||chr(10)||chr(13)||chr(10)||'--' || l_boundary ||
    47                      chr(13) || chr(10);
    48      l_temp   := l_temp || 'content-type: text/html;charset=utf-8' ||
    49                     chr(13) || chr(10) || chr(13) || chr(10);
    50      l_offset := dbms_lob.getlength(l_body_html) + 1;
    51      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    52      ----------------------------------------------------
    53      -- Write the HTML portion of the message
    54      l_offset := dbms_lob.getlength(l_body_html) + 1;
    55      dbms_lob.write(l_body_html,length(p_html),l_offset,p_html);
    56      ----------------------------------------------------
    57      -- Write the final html boundary
    58      l_temp   := chr(13) || chr(10) || '--' ||  l_boundary || '--' || chr(13);
    59      l_offset := dbms_lob.getlength(l_body_html) + 1;
    60      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    61      ----------------------------------------------------
    62      -- Send the email in 1900 byte chunks to UTL_SMTP
    63      l_offset  := 1;
    64      l_ammount := 1900;
    65      utl_smtp.open_data(l_connection);
    66      while l_offset < dbms_lob.getlength(l_body_html) loop
    67          utl_smtp.write_data(l_connection,
    68                              dbms_lob.substr(l_body_html,l_ammount,l_offset));
    69          l_offset  := l_offset + l_ammount ;
    70          l_ammount := least(1900,dbms_lob.getlength(l_body_html) - l_ammount);
    71      end loop;
    72      utl_smtp.close_data(l_connection);
    73      utl_smtp.quit( l_connection );
    74      dbms_lob.freetemporary(l_body_html);
    75* end;
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    html_email(p_to=>'<email@domain>',p_from=>'<email@domain>',p_subject=>'Hello',p_text=>'Hi', p_html=>email_text);
      8*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    ????? Riaz ???????
    ???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
    Option3
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure p_html_email_riaz(
      2      p_to            in varchar2,
      3      p_from          in varchar2,
      4      p_subject       in varchar2,
      5      p_text          in varchar2 default null,
      6      p_html          in varchar2 default null
      7  )
      8  is
      9      l_boundary      varchar2(255) default 'a1b2c3d4e3f2g1';
    10      l_connection    utl_smtp.connection;
    11      l_body_html     clob := empty_clob;  --This LOB will be the email message
    12      l_offset        number;
    13      l_ammount       number;
    14      l_temp          varchar2(32767) default null;
    15      l_smtp_hostname varchar2(50) := '<smtp Server>';
    16  begin
    17      l_connection := utl_smtp.open_connection( l_smtp_hostname, 25);
    18      utl_smtp.helo( l_connection, l_smtp_hostname );
    19      utl_smtp.mail( l_connection, p_from );
    20      utl_smtp.rcpt( l_connection, p_to );
    21      l_temp := l_temp || 'MIME-Version: 1.0' ||  chr(13) || chr(10);
    22      l_temp := l_temp || 'To: ' || p_to || chr(13) || chr(10);
    23      l_temp := l_temp || 'From: ' || p_from || chr(13) || chr(10);
    24      l_temp := l_temp || 'Subject: ' || p_subject || chr(13) || chr(10);
    25      l_temp := l_temp || 'Reply-To: ' || p_from ||  chr(13) || chr(10);
    26      l_temp := l_temp || 'Content-Type: multipart/alternative; boundary=' ||
    27                           chr(34) || l_boundary ||  chr(34) || chr(13) ||
    28                           chr(10);
    29      ----------------------------------------------------
    30      -- Write the headers
    31      dbms_lob.createtemporary( l_body_html, false, 10 );
    32      dbms_lob.write(l_body_html,length(l_temp),1,l_temp);
    33      ----------------------------------------------------
    34      -- Write the text boundary
    35      l_offset := dbms_lob.getlength(l_body_html) + 1;
    36      l_temp   := '--' || l_boundary || chr(13)||chr(10);
    37      l_temp   := l_temp || 'content-type: text/plain; charset=UTF-8' ||
    38                    chr(13) || chr(10) || chr(13) || chr(10);
    39      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    40      ----------------------------------------------------
    41      -- Write the plain text portion of the email
    42  /**
    43      l_offset := dbms_lob.getlength(l_body_html) + 1;
    44      dbms_lob.write(l_body_html,length(p_text),l_offset,p_text);
    45  **/
    46      ----------------------------------------------------
    47      -- Write the HTML boundary
    48      l_temp   := chr(13)||chr(10)||chr(13)||chr(10)||'--' || l_boundary ||
    49                      chr(13) || chr(10);
    50      l_temp   := l_temp || 'content-type: text/html;' ||
    51                     chr(13) || chr(10) || chr(13) || chr(10);
    52      l_offset := dbms_lob.getlength(l_body_html) + 1;
    53      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    54      ----------------------------------------------------
    55      -- Write the HTML portion of the message
    56      l_offset := dbms_lob.getlength(l_body_html) + 1;
    57      dbms_lob.write(l_body_html,length(p_html),l_offset,p_html);
    58      ----------------------------------------------------
    59      -- Write the final html boundary
    60      l_temp   := chr(13) || chr(10) || '--' ||  l_boundary || '--' || chr(13);
    61      l_offset := dbms_lob.getlength(l_body_html) + 1;
    62      dbms_lob.write(l_body_html,length(l_temp),l_offset,l_temp);
    63      ----------------------------------------------------
    64      -- Send the email in 1900 byte chunks to UTL_SMTP
    65      l_offset  := 1;
    66      l_ammount := 1900;
    67      utl_smtp.open_data(l_connection);
    68      while l_offset < dbms_lob.getlength(l_body_html) loop
    69          utl_smtp.write_raw_data(l_connection,
    70              utl_raw.cast_to_raw(
    71                  dbms_lob.substr(l_body_html,l_ammount,l_offset ) ) );
    72          l_offset  := l_offset + l_ammount ;
    73          l_ammount := least(1900,dbms_lob.getlength(l_body_html) - l_ammount);
    74      end loop;
    75      utl_smtp.close_data(l_connection);
    76      utl_smtp.quit( l_connection );
    77      dbms_lob.freetemporary(l_body_html);
    78* end;
    SQL>
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    p_html_email_riaz(p_to=>'<email@domain>',p_from=>'<email@domain>',p_subject=>'Hello',p_text=>'Hi', p_html=>email_text);
      8*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    GaSmO Riaz GacMJQc
    mQLl GaJ_Qc HGaZac Cd GaZ^O GaNGU H_c SmdJem HJGQmN 12-07-2011
    . fZame mQL\l GaJ_\Qc HE]GOI EOGQI GacfGQO GaHTQmI ]m MGa ZOc Q[HJ_c HJLOmO GaZ^O NaGa cOI C^UeG CSHfZmd cd Gamfc fPa_ aaCecmI Ga^Ufl
    .fa_c LRma GaT_Q fGaJ^OmQ
    *Option4*
    [code]
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE OR REPLACE PROCEDURE send_email_html_test(
    2 pi_from IN Varchar,
    3 pi_to IN VARCHAR,
    4 pi_cc IN Varchar,
    5 pi_subj IN VARCHAR,
    6 pi_msg CLOB
    7 )
    8 IS
    9 conn utl_smtp.connection;
    10 lv_mailhost varchar2(1000);
    11 lv_port number;
    12 BEGIN
    13 lv_mailhost := '<smtp Server>';
    14 lv_port := 25;
    15 conn := utl_smtp.open_connection(lv_mailhost, lv_port);
    16 utl_smtp.helo(conn, lv_mailhost);
    17 utl_smtp.mail(conn, pi_from);
    18 utl_smtp.rcpt(conn, pi_to);
    19 IF pi_cc is not null THEN
    20 utl_smtp.rcpt(conn, pi_cc);
    21 END IF;
    22 utl_smtp.open_data(conn);
    23 utl_smtp.write_data(conn, 'MIME-version: 1.0' || utl_tcp.CRLF);
    24 utl_smtp.write_data(conn, 'Content-Type: text/html; charset=iso-8859-6' ||
    25 utl_tcp.CRLF);
    26 utl_smtp.write_data(conn, 'Content-Transfer-Encoding: 8bit' ||
    27 utl_tcp.CRLF);
    28 utl_smtp.write_data(conn, 'From:' ||pi_from || utl_tcp.CRLF);
    29 utl_smtp.write_data(conn, 'To:' ||pi_to || utl_tcp.CRLF);
    30 utl_smtp.write_data(conn, 'Cc:' ||pi_cc || utl_tcp.CRLF);
    31 utl_smtp.write_data(conn, 'Reply-To:' ||pi_from || utl_tcp.CRLF);
    32 utl_smtp.write_data(conn, 'Subject:' ||pi_subj|| utl_tcp.CRLF);
    33 utl_smtp.write_data(conn, utl_tcp.crlf);
    34 utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(pi_msg));
    35 utl_smtp.close_data(conn);
    36 utl_smtp.quit(conn);
    37 EXCEPTION WHEN others THEN
    38 dbms_output.put_line(sqlerrm);
    39* END;
    40 /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
    1 declare
    2 email_text varchar2(2000);
    3 contract_end_date_v date := sysdate;
    4 name_v varchar2(200) := 'Riaz';
    5 begin
    6 email_text :='
    <div align="right"><font size="4"><b>السيد '||name_v||' المحترم</b>
    يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'
    . وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى
    .ولكم جزيل الشكر والتقدير </font></div>';
    7 send_email_html_test('<email@domain>',
    8           '<email@domain>',
    9 '<email@domain>',
    10 'Hello',email_text);
    11* end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    Riaz افكحترك
    ٍرجٌ افترك بافغفك أل افغد افخاص بك سٍلتمٍ بتارٍخ 12-07-2011
    . نغفٍم ٍرجٌ افترك بإادة إدارة افكنارد افبشرٍة ٍ حاف غدك ربتك بتجدٍد افغد خفاف كدة أصما أسبنغٍل كل افٍنك نذف ففأمكٍة افصنٌ
    .نفك جزٍف افشر نافتدٍر
    Option5
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE send_mail_test1 (p_to        IN VARCHAR2,
      2                                         p_from      IN VARCHAR2,
      3                                         p_subject   IN VARCHAR2,
      4                                         p_text_msg  IN VARCHAR2 DEFAULT NULL,
      5                                         p_html_msg  IN VARCHAR2 DEFAULT NULL,
      6                                         p_smtp_host IN VARCHAR2,
      7                                         p_smtp_port IN NUMBER DEFAULT 25)
      8  AS
      9    l_mail_conn   UTL_SMTP.connection;
    10    l_boundary    VARCHAR2(50) := '----=*#abc1234321cba#*=';
    11  BEGIN
    12    l_mail_conn := UTL_SMTP.open_connection(p_smtp_host, p_smtp_port);
    13    UTL_SMTP.helo(l_mail_conn, p_smtp_host);
    14    UTL_SMTP.mail(l_mail_conn, p_from);
    15    UTL_SMTP.rcpt(l_mail_conn, p_to);
    16    UTL_SMTP.open_data(l_mail_conn);
    17    UTL_SMTP.write_data(l_mail_conn, 'Date: ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') || UTL_TCP.crlf);
    18    UTL_SMTP.write_data(l_mail_conn, 'To: ' || p_to || UTL_TCP.crlf);
    19    UTL_SMTP.write_data(l_mail_conn, 'From: ' || p_from || UTL_TCP.crlf);
    20    UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || p_subject || UTL_TCP.crlf);
    21    UTL_SMTP.write_data(l_mail_conn, 'Reply-To: ' || p_from || UTL_TCP.crlf);
    22    UTL_SMTP.write_data(l_mail_conn, 'MIME-Version: 1.0' || UTL_TCP.crlf);
    23    UTL_SMTP.write_data(l_mail_conn, 'Content-Type: multipart/alternative; boundary="' || l_boundary || '"' || UTL_TCP.crlf || UTL_TCP.crlf);
    24    IF p_text_msg IS NOT NULL THEN
    25      UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
    26      UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/plain; charset="utf-8"' || UTL_TCP.crlf || UTL_TCP.crlf);
    27      UTL_SMTP.write_data(l_mail_conn, p_text_msg);
    28      UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
    29    END IF;
    30    IF p_html_msg IS NOT NULL THEN
    31      UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
    32      UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/html; charset="utf-8"' || UTL_TCP.crlf || UTL_TCP.crlf);
    33      UTL_SMTP.write_data(l_mail_conn, p_html_msg);
    34      UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
    35    END IF;
    36    UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || '--' || UTL_TCP.crlf);
    37    UTL_SMTP.close_data(l_mail_conn);
    38    UTL_SMTP.quit(l_mail_conn);
    39* END;
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2   email_text varchar2(2000);
      3   contract_end_date_v date := sysdate;
      4   name_v varchar2(200) := 'Riaz';
      5   begin
      6    email_text :='<br/><div align="right"><font size="4"><b>السيد '||name_v||'  المحترم</b><br/><br/> يرجى التكرم بالعلم أن العقد الخاص بكم سينتهي بتاريخ ' || to_char(contract_end_date_v,'dd-mm-yyyy')||'<br/>. وعليه يرجـى التكـرم بإفادة إدارة الموارد البشرية في حال عدم رغبتكم بتجديد العقد خلال مدة أقصها أسبوعين من اليوم وذلك للأهمية القصوى  <br/>.ولكم جزيل الشكر والتقدير  </font></div>';
      7    send_mail_test1('<email@domain>',
      8                   '<email@domain>',
      9                         'Hello',
    10                 'msg',
    11                 email_text,
    12                 '<smtp Server>',
    13                 25);
    14*  end;
    SQL> /
    PL/SQL procedure successfully completed.
    Result*
    ????? Riaz ???????
    ???? ?????? ?????? ?? ????? ????? ??? ?????? ?????? 12-07-2011
    .???? ???? ????? ????????

    I worked with Oracle support and was able to find solution. The helping document ids were: 752309.1 & 404389.1

Maybe you are looking for

  • How to delete large number of email notifications from facebook

    I have been receiving email notifications from facebook for years. I only know how to delete them one at a time. I now want to clean up my computer and do not know how to delete these unneeded emails. they number in the thousands.

  • How do I add a "normal" space?

    Given a text location, I'd like to use the Doc object's addtext method to a "normal" space. I say normal space because I can't actually figure out what type of space FrameMaker is using by default and I haven't been able to find any documentation abo

  • Switching between servers

    i have a database named oradb in my server. I want to connect to remote database which is also having the same database. How can i overcome this problem. Should i change tnsnames.ora file for each login

  • Referencing a button on main stage from inside a movieclip

    I am banging my head against the wall on this. On the main stage I have a button that I have made invisible once the file is loaded.  Inside a movieclip I have on frame 15 the following actionscript 3 code button_mc.visible = true; I want the button

  • Playing AVI files on E71

    I have some video clips that I took on a Nikon camera.  But I am unable to view these on my Nokia E71.  Searched a lot on the web for answers, a lot of pointers were for DIVX mobile player and Handbrake.  I tried both and can confirm that the AVI fil