Send email with Asian characters

Hi
Does anyone know how to send email with Asian characters? Sample code will be useful. I got ?? instead of the real characters, please help....
Thanks in advance
Ken

Hello.
How are you doing?
Good Day.
I think I have the concepts down some, I'm just gonna
ask some questions for confirmation. First I'll list a
statement then I'll as the question about the
statement.
If the statement is correct answer yes, on the other
hand if the statement is false. Answer no to the
question and explain.
My purpose for asking you questions. Is to get a better understanding of JavaMail and to clear up any doubt. That, I may have on this subject that is related to the statements and questions.
By having some one like you respond to my questions with answers.
Here we go!
The content of the Part Interface and Message class are not attributes at all.
If this statement is correct or not correct please explian why.
Is this statement correct?
A DataHandler is the class called DataHandler and the
object of the DataHandler class, which programmers
would call the DataHandler object; which is (normally
created by using the DataHandler class constructor). The DataHandler class, wraps the data into the DataHandler object which is called DataHandler; by you or I using the DataHandler class constructor.
This statement is correct right?
The DataHandler class takes the data you pass to it's
constructor and wraps it into the DataHandler's object
as one entity called an email message.
Is this statement correct?
Thanks in advance.
Please email me as soon as possible;
at [email protected]
Peace out, have a good day.
-Leroy

Similar Messages

  • When i send an email with greek characters in the body, the recipient receive it in an unreadable form.

    When i send an email with greek characters in the body, many recipients (not all) cannot read it.
    At the same time when i use the internet mail it can be read successfully by the recipient.
    I have already checked the encoding settings in the Fonts in order to be "unicode (UTF-8)".
    What else can i check?
    Thanks in advance.
    e.g:
    From: Eleni Kontomari [email address removed by moderator Andrew]
    Sent: Thursday, February 27, 2014 12:33 PM
    To: "Nikos Totsios (Ηλεκτρονική διεύθυνση)"; "Giannis Diokarantos (Ηλεκτρονική διεύθυνση)"; "Dimitris Papadopoulos (Ηλεκτρονική διεύθυνση)"; Vassilis Gounaris; "Vassos Efthymiadis (Ηλεκτρονική διεύθυνση)"; Νικηφόρος Κεκρίδης; Ιωάννης Αθανασόπουλος; "Alexis Katsivas (Ηλεκτρονική διεύθυνση)"; Μιχάλης Παπαοικονόμου; Fomesa Hellas; "Χρήστος Σπηλιάδης (Ηλεκτρονική διεύθυνση)"; Δημήτρης Μπενάκης; "Ν. Γαλάνης"; [email protected]; "Αποστόλης Σαμούδης (Ηλεκτρονική διεύθυνση)"; "Β. Ντουρτόγλου (Ηλεκτρονική διεύθυνση)"; [email protected]; [email protected]; "Φοίβη Λεγάκι (Ηλεκτρονική διεύθυνση)"; "Παναγιώτης Κουμεντάκος (Ηλεκτρονική διεύθυνση)"; Σπύρος Ζαφείρης; Hans- Joachim Henn; "Κώστας Αλεξανδρόπουλος (Ηλεκτρονική διεύθυνση)"; [email protected]; [email protected]
    Subject: ΠΡΟΣΚΛΗΣΗ ΤΑΚΤΙΚΗΣ ΓΕΝΙΚΗΣ ΣΥΝΕΛΕΥΣΗΣ ΕΣΥΦ
    ... 13 2014.
    ''Please read [[Forum rules and guidelines]] when posting a question in a public forum''

    There are some language add ons that support emails from other languages that you can check out: [https://addons.mozilla.org/en-us/thunderbird/extensions/language-support/?sort=popular]
    The recipient, if they also use thunderbird may need to have a language pack to read the email: [https://addons.mozilla.org/en-US/thunderbird/language-tools/]
    You may also need to have them check their interpreter to make sure the email is being received in the same format it is being sent.

  • XI Mail Adapter: sending emails with attachment with help of java mapping

    Hi ,
    On trying out the scenerio mentioned in the blog, using the java mapping provided
    "XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
    The scenerio works just fine.
    But the payload as the content of the attachment is not getting generated in proper XML format.
    I suppose it's because of the replace special characters code part..
    Can anyone help me state the modification required in the code.
    Thanks!
    Regards,
    Faria Mithani

    It might be a codepage issue. Is your original payload UTF-8?

  • Send attachment with maximum characters

    I need to extract data from a table into a .csv and then send that .csv as an attachment.
    I am converting the data to csv and assigning it to clob variable but table has huge data therefore procedure gets error out after around 7000 characters with
    ORA-06502: PL/SQL: numeric or value error.
    Please suggest a way to send attachment with maximum characters.
    With the below sample code i am able to send atttachement upto 7000 characters.
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test subject';
    v_Mail_Host VARCHAR2(30) := 'mail.mycompany.com';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    v_message clob;
    BEGIN
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
    'Content-Type: multipart/mixed;'|| crlf ||
    ' boundary="-----SECBOUND"'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    'Content-Transfer_Encoding: 7bit'|| crlf ||
    crlf ||
    'some message text'|| crlf ||     -- Message body
    'more message text'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    ' name="excel.csv"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="excel.csv"'|| crlf ||
    crlf ||
    v_message|| crlf ||     -- Content of attachment
    crlf ||
    '-------SECBOUND--'               -- End MIME mail
    utl_smtp.Quit(v_mail_conn);
    EXCEPTION
    WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    Thanks,

    Thanks for your help Billy.
    I am able to segment the data but I am not getting any attachment instead segmented data is showing in the mail body.
    Can you please have a look and let me where it is going wrong?
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test mail';
    v_Mail_Host VARCHAR2(30) := 'localhost';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    v_message clob;
    message clob;
    BEGIN
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    v_message := 'date: ' || to_char(sysdate, 'DD-MON-YYYY HH24:MI:SS')||chr(10)||
    'from: '||v_From|| chr(10) ||
    'to: '||v_Recipient ||chr(10)||
    'subject: '||v_Subject || chr(10) || chr(10);
    utl_smtp.open_data (v_Mail_Conn);
    utl_smtp.write_data(v_Mail_Conn , v_message );
    --MIME header.
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'MIME-Version: 1.0' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Type: multipart/mixed;' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,' boundary="-----SECBOUND"' ||crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,crlf);
    -- Mail Body
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'-------SECBOUND'|| crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Type: text/plain;' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Transfer_Encoding: 7bit' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, 'Please see the attachments' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, crlf);
    -- Mail Attachment
    utl_smtp.write_data(v_Mail_Conn,'-------SECBOUND' || crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Type: text/plain;' || crlf);
    utl_smtp.write_data(v_Mail_Conn,'name="excel.csv"' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Transfer_Encoding: 8bit' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Disposition: attachment;' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'filename="excel.csv"' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,crlf);
    message := 'OBJECT_TYPE, OBJECT_FOREIGNKEY, OPERATION, EVENT_ID, STATUS_ID, NUM_BLOCKED, MODIFIED_DATE, INT_UPDATEEVENT_FMWID, ERROR_DESCRIPTION';
    utl_smtp.write_data(v_Mail_Conn , message );
    for rec in (
    select object_type, object_foreignkey, operation, x.event_id, x.status_id, num_blocked,
    e.modified_date, e.INT_UPDATEEVENT_FMWID, replace(substr(e.error_description,1,100),',',' ') error_description
    from (
    select b2.object_type, b2.object_foreignkey, t.operation, e2.event_id, e2.status_id, count(1) num_blocked
    from EVENT e
    INNER JOIN TRANSACTION t
    ON e.transaction_id = t.transaction_id
    inner join transaction_dependency d
    on t.transaction_id = d.transaction_id
    inner join transaction_block b
    on t.transaction_id = b.transaction_id
    inner join transaction_block b2
    on d.transaction_id <> b2.transaction_id
    and d.object_type = b2.object_type
    and d.object_foreignkey = b2.object_foreignkey
    inner join transaction t2
    on b2.transaction_id = t2.transaction_id
    and t.source_type = t2.source_type
    inner join event e2
    on t2.transaction_id = e2.transaction_id
    where t.source_type = 'CRM_OD_To_OP'
    and e.created_date >=(sysdate - 1)
    and e.status_id <1000
    and e2.status_id <1000
    group by b2.object_type, b2.object_foreignkey, t.operation, e2.event_id, e2.status_id
    ) x
    inner join event e
    on x.event_id = e.event_id
    and e.status_id = 900
    order by num_blocked desc, object_type, object_foreignkey
    ) loop
    message := crlf || rec.object_type||','||rec.object_foreignkey||','|| rec.operation|| ','|| rec.event_id||
    ','||rec.status_id||','||rec.num_blocked||','||rec.modified_date||','||rec.INT_UPDATEEVENT_FMWID||','||rec.error_description;
    utl_smtp.write_data(v_Mail_Conn , message );
    end loop;
    utl_smtp.write_data(v_Mail_Conn,crlf);
    utl_smtp.write_data(v_Mail_Conn,'-------SECBOUND');
    utl_smtp.close_data(v_mail_conn);
    utl_smtp.quit( v_mail_conn );
    EXCEPTION
    WHEN others then
    dbms_output.put_line('error ' || sqlerrm);
    END;

  • Slideshow: label with asian characters

    I just installed Fw CS3 french edition.
    When using the create sldeshow command from the menu I get 5
    tabs on the right side of the window.
    The last one appear with asian characters and a pop-up as
    well when clicking the create button.
    How to resolve it ?
    Best regards

    Hello.
    How are you doing?
    Good Day.
    I think I have the concepts down some, I'm just gonna
    ask some questions for confirmation. First I'll list a
    statement then I'll as the question about the
    statement.
    If the statement is correct answer yes, on the other
    hand if the statement is false. Answer no to the
    question and explain.
    My purpose for asking you questions. Is to get a better understanding of JavaMail and to clear up any doubt. That, I may have on this subject that is related to the statements and questions.
    By having some one like you respond to my questions with answers.
    Here we go!
    The content of the Part Interface and Message class are not attributes at all.
    If this statement is correct or not correct please explian why.
    Is this statement correct?
    A DataHandler is the class called DataHandler and the
    object of the DataHandler class, which programmers
    would call the DataHandler object; which is (normally
    created by using the DataHandler class constructor). The DataHandler class, wraps the data into the DataHandler object which is called DataHandler; by you or I using the DataHandler class constructor.
    This statement is correct right?
    The DataHandler class takes the data you pass to it's
    constructor and wraps it into the DataHandler's object
    as one entity called an email message.
    Is this statement correct?
    Thanks in advance.
    Please email me as soon as possible;
    at [email protected]
    Peace out, have a good day.
    -Leroy

  • TS3899 Cannot send email with new iPad air.  Works fine with old iPad and iPhone.

    Cannot send email with new iPad air.  Works fine with old iPad and iPhone.  I have deleted account and reinstalled.

    Thanks.  I got the problem fixed.  Spent time with the Apple folks and was kicked up to a senior advisor.  It seems the problem was with my internet provider - Tmie Warner.  Remember I could use the old ipad and the iphone to send mail.  I checked all the specifics between the three units.  It seems that TW is changing over from the RR.com  to TWC.com.  Since the new ipad air was just set up, it fell under the new TWC mail specifics. 

  • How do I use my iPhone's hot spot to send email with Mail ?

    Hi,
    My land line is dead ... so no phone nor internet at home.  But I can use my iPhone'hot spot to get on the web from my iMac.  Great ... it works !
    Oups !   I cannot send email from my computer using my iPhone's hot spot with Mail.
    How do I do that ?
    Regards.
    Robert Lespérance

    Hi Templeton Peck,
    Thanks for droping in my thread ...
    Doesn't the fact that I can surf the web with my iPhone's hot spot and that I cannot use Mail normally has I normally do give you a clue what the problem could be ?
    What other information can I give you other than normally I can surf and send email with my regular ISP.  Now that my ISP is dead I am using my iPhone's hotspot to surf the web awaiting that my ISP's connoection returns. Surfing is OK but I cannot send emails with through Mail.
    When I want to send an email from my computer, I get a message asking me to select the the SMTP server.  Then I select my usual ISP server, but the message comes back telling me it does not work.
    Is there any other configuration to do ?

  • I'm not able to send emails with mail.ru. Receiving and reading is not a problem. When I create a email with mail.ru its not possible to send it although its stored in my mail.ru account as "still to be send". What can it be??

    I'm not able to send emails with mail.ru. Receiving is not a problem. Creating a mail is also not a problem and the mail will be stored at mail.ru as still to be send, only problem is its not possible to send. I noticed the buttons for sending change colour when used but they don't perform. What it is?

    Don't know what changed, but all of a sudden able to send emails by mail.ru ...... sorry for bothering.

  • I have 2 email accounts the second one i have only recently added, i have sent one email from my second account but i cant seem to send anymore, it says "cant send email with selected server" i am still able to send emails from my first account. Any ideas

    I have 2 email accounts, the second i only just recently added, i was able to send an email from this account after i added the account but am not able to send anymore emails. It says "unable to send email with selected server" there are no other servers to choose from. please help! TIA

    Hi apmichael,
    If you are having issues sending email from one of your mail accounts on your iPhone, you may find the following article helpful:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Regards,
    - Brenden

  • I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to sen

    I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
    Gail

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

  • Problems sending emails with iPhone 3G and outlook exchange

    I have a problem sending email with exchange. Receiving and answering mail works fine and calender updates work fine. However when I initiate an email from the phone it syncs and ends up in the sent folder in the computer but never reaches the recipient. I have tried this many times with different recipients and phones. It only happens from my iphone and ipad. Any suggestions?
    Any help much appreciated

    The iPhone you returned is still syncing against your server and locking out your account. Someone possibly has access to your mail data. I'd recommend having your Exchange Administrator install the Microsoft Exchange Server ActiveSync Web Administration Tool (http://www.microsoft.com/downloads/details.aspx?FamilyID=E6851D23-D145-4DBF-A2CC -E0B4C6301453&displaylang=en) and attempt to wipe/delete/block that other iPhone.
    Message was edited by: ethanm

  • Is there any problem to use multiple threads to send email with JavaMail

    Dear all,
    I am using JavaMail 1.3.2 to send emails with SMTP, it works very well for a long time.
    But one day, I found that the email service hanged and I could never send email again until I restart the tomcat. I found that the reason was a deadlock had been created, the required resource for sending email had not been released.
    I guess the error is due to multiple threads are sending email at the same time. I made a test to create seperate thread for sending each email. After few days, I found this deadlock happened again. So, my question is: Can I use JavaMail with multiple threads? If not, I may need to sychronized all the thread that using JavaMail. I would like to make sure this is the reason for causing the deadlock problem.
    Here is part of my code for using JavaMail:
    transport = session.getTransport("smtp");
    transport.connect(email_host, smtp_user, smtp_pass);
    message.saveChanges();
    transport.sendMessage(message,message.getAllRecipients());
    which is very standard call, and it worked well for a long time.
    Here is part for my thread dump on tomcat:
    (Thread-339)
    - waiting to lock <0x5447c180> (a sun.nio.cs.StandardCharsets)
    (Thread-342)
    - locked <0x5447c180> (a sun.nio.cs.StandardCharsets)
    It seems that these happened after call the method transport.sendMessage() or message.updateChanges()
    , and the underlying implementation may require the JRE StandardCharsets object. But the object had been locked and never be released. So, the sendMessage() or updateChanges() can't be completed.
    Please give me some helps if you have any idea about it.
    Thanks very much!
    Sirius

    Note that the Nightly build gets updated daily (and sometimes more than once in case of a respin) and it is always possible that something goes wrong and it doesn't work properly, so be prepared for issues if you decide to stay with the Nightly build and make sure to have the current release with its own profile installed as well in case of problems.
    See also:
    * http://kb.mozillazine.org/Testing_pre-release_versions
    *http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Sending emails with both body and attachment to multiple recipients

    I have a requirement to send email with body and attachment to multiple recipients.
    Body of the email is a standard text. It is a proxy-to-mail scenario.
    Here is what I've done: (I'm using PI 7.11)
    One mapping from Source to Target structure (format of the attachment text file)
    Second mapping from Target Structure to Mail Package format.
    In the second mapping I'm concatenating the output of first step into "Content" of the Mail Package.
    "XIPAYLOAD" is the message protocol used.
    The "Keep attachments" option in the Mail adapter allows only to send "Content" as attachment or as body of the email.
    How to send an email with both content and text?
    The other problem is even with using ASMA, I can't send email to multiple recipients. I can only do CC and TO for 1 person each - a total of 2. Although I can resolve this by creating mailing lists, it is better if this can be addressed in PI.
    Thanks for any input you can provide!
    Edited by: crazylad on Jan 18, 2012 3:39 PM

    Thank you for your response Mikael.
    For the first question, I was able to find the solution in the following blog:
    XI Mail Adapter : Dynamically building attachment and message body content using a simple UDF
    (I just needed to search with the right set of key words )
    The key is to set the "Content Encoding" as "None" in the mail adapter. If this is not done, the mail will be sent with an attachment - untitled.bin containing both the mail body and the attachment text. Also, don't forget to check the "Keep Attachments" checkbox in the mail adapter.
    Multiple recipients could be added by separating the email IDs with a Comma. I have used ASMA to set the recipients.

  • Sending email with 2 attachments in PDF Format

    Hi,
    I have 2 ALV Layouts, totally different in Structure.
    Now I need to convert these 2 ALV layout to 2 different PDF files and send email with thses 2 attachments.
    Can anyone provide me with sample report.
    I tried searching  for it  but there is no clue for ALV report-> PDF -> email.
    Thanks
    Mohan

    Hello,
    I doubt if you really searched before posting. You will find many posts indicating how to convert your report output be it ALV or classical into spool and then in to pdf. After you get the pdf binary format, its pretty much the same attaching those and sending E-mail
    Vikranth

  • Sending email with multiple attachments

    Hi forum,
    I am able to send email with a single attachment using maildemo.sql from: http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    But now I am trying to send email with more than 1 attachment and it does not work. My code that calls the above mentioned package is as follows:
    <code>
    PROCEDURE send (
    psender VARCHAR2,
    precipients VARCHAR2,
    pcc VARCHAR2,
    pbcc VARCHAR2,
    psubject VARCHAR2,
    pmessage VARCHAR2,
    pnumattach NUMBER) -- The number of attachments that need to be sent
    IS
    p_blob BLOB;
    p_filename VARCHAR2(200);
    p_filetype VARCHAR2(200);
    p_currSeq NUMBER;
    conn utl_smtp.CONNECTION;
    i NUMBER;
    j NUMBER;
    len NUMBER;
    BEGIN
    IF pnumattach > 1
    THEN
    conn := SEND_EMAIL_HELPER.begin_mail(
              sender => psender,
              recipients => precipients,
              subject => psubject,
              mime_type => send_email_helper.MULTIPART_MIME_TYPE);
    j := 0;
    SELECT seq_attach_transact_id.CURRVAL INTO p_currSeq FROM dual; -- seq_attach_transact_id is a primary key that identifies every single attachment in the table
    WHILE (j < pnumattach) LOOP
    p_currSeq := p_currSeq - j;
    SELECT blob_content INTO p_blob FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SELECT name INTO p_filename FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SELECT mime_type INTO p_filetype FROM wwdoc_document WHERE transaction_id = p_currSeq;
    SEND_EMAIL_HELPER.begin_attachment(
    conn => conn,
    mime_type => p_filetype,
    inline => TRUE,
    filename => p_filename,
    transfer_enc => 'base64');
    -- split the Base64 encoded attachment into multiple lines
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn,
    UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn,
    UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + SEND_EMAIL_HELPER.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    SEND_EMAIL_HELPER.end_attachment(conn => conn);
    END LOOP;
    SEND_EMAIL_HELPER.attach_text(
    conn => conn,
    data => pmessage,
    mime_type => 'text/html');
    SEND_EMAIL_HELPER.end_mail( conn => conn );
    ELSE
    utl_mail.send(psender,precipients,pcc,pbcc,psubject,pmessage);
    END IF;
    END send;
    </code>
    Can anyone please tell me where am i going wrong.
    Message was edited by:
    Monk

    The easiest is to send an e-mail with multiple attachments to yourself and then view the message in raw to see how it is formatted - how the boundaries work. what the boundary headers are, etc.
    Then you use that as a template for your PL/SQL code to generate a MIME body for an e-mail that has multiple attachments.
    To debug.. have your PL/SQL code send sample e-mails with multiple attachment to your account, view it in raw format and compare that to the original format you've based your template on.
    And none of this is really a PL/SQL issue.. it is all about formatting a valid MIME message for an e-mail.

Maybe you are looking for

  • Closing and Opening Stock

    I have a table with daily transactions. The table consists of location-id, product-id, dates,Quantity and type, where type defines what is the type of transaction. type=1 is opening stock on 1-Apr-14, type=2 received stock on daily basis and type=3 i

  • How Do You Restore Data From Time Machine Backup?

    Hi      In my case I have a ORIGINAL Leopard Disc but ONLY an UPGRADE Snow Leopard disc. I'm installing a new hard drive in my Snow Leopard macbook pro and I have been using time machine for my backups. Am I correct in thinking I need to reinstall Le

  • Java 3D programs

    hi i am not able to execute java 3D programs. i have j2sdk1.4.2_05 installed in my system and and also java 3D 1.5.0. then also it is showing me errors. can anybody guide for this so i can execute programs.

  • [SOLVED] Module load errors

    I've installed the base following the beginner's guide.  Grep EE /var/log/Xorg.0.log shows the following errors: (EE) Failed to loan module "intel" (module does not exist, 0) (EE) Failed to load module "fbdev" (module does not exist, 0) (EE) KB Multi

  • Yosemite doesn't recognize iCloud password

    I have Yosemite installed in 4 Macs. In 3 of them I chose a different password from iCloud. In the only one that I chose to log in using my iCloud password, it simply refuses to accept it in the first login trial after installation. Why?