Send long email message, with formate

Dear all, I need to handle some sample email
I use the basic way
message.setText(" mymessage");
but If my message is long and I want the formate to
Dear AAA,
AAAAAAAAAAAAAAA..............
Thank you,
bbbbb
what can I do?

right now I use html formate to send my message,
This part is not working, what is wrong!
String str1 = "<html><body><p>Dear student:</p>" +
           "<p>This email serves to acknowledge the receipt of your online  application on .";
   String str2=(String) session.getAttribute("submitDate");
   String str3=str1.concat(str2);
   String str4="Please note that<b>THIS APPLICATION IS NOT COMPLETE</b>"
           +"until you have returned tp XXXX within the next 7 working days  a hard copy of the application form  together with supporting documents required"
           +"If we do not hear from you, we will ..............................<p>"
           +"<p>Thank you</p></body></html>";
  String sendMsgHtml=str3.concat(str4);code}
if I only use
<b>this part work fine</b>
String sendMsgHtml = "<html><body><p>Dear student</p>" +
           "<p>This email serves to acknowledge the receipt of your online  application on April XX, 2009.  Please note that "
           +"<b>THIS APPLICATION IS NOT COMPLETE</b>"
           +"until you have returned XXXXX within the next 7 working days  a hard copy of the application form  together with supporting documents required"
           +"If we do not hear from you ..............................n.<p>"
           +"<p>Thank you</p></body></html>";                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • When sending an email message with attachment, the message disappears.

    I send and receive messages without any problems but when I try sending a message with an attachment (using Documents to Go, IAnnotate PDF, IWork,) the message somehow disappears (it is not sent to the destination and not listed on "Sent" messages folder. Is anyone having the same issue?

    Hi Jaime,
    Are you saying, you are getting junk characters in the email attachment? Then pls check the following. Since you want to send Japanese fonts, please pass language 'J' in both  objpack-obj_langu = '3' & doc_chng-obj_langu  = '3' instead of '3' please replace it with 'J'.
    Another thing which you may have to check is the SCOT device type. As I understand from my basis colleague, this may also affect your attachment fonts since the emails are sent through SCOT. Go to transaction SCOT-> Settings-> Device types for format conversion. Check whether wrong device type is defined for Japanese there. Hope this helps
    Regards,
    Gokul

  • HT4847 You have now exceeded your iCloud storage, including an additional amount provided to allow you to continue receiving email. As a result, you will not be able to send or receive new email messages with your iCloud email address until you free up st

    You have now exceeded your iCloud storage, including an additional amount provided to allow you to continue receiving email. As a result, you will not be able to send or receive new email messages with your iCloud email address until you free up storage space or buy more storage. I have 20GB remaining.  WHat is the issue here?

    Today I received the same message but have 4.6gb available from a total of 5.0gb. I also received the same message when i first set up my icloud account and icloud was virtually empty. Unfortunately the only way i can see to contact apple is to pay for a telephone call. If anyone knows what is going on i would appreciate knowing.

  • Is there away to send an email message on the ipad with a photo attachment "not" inline in the message?

    I need to send an email message on the ipad with a photo as an attachment "not" inline in the message?  I do not want the photo embedded in the email message.  I'm using exchange on the ipad. 

    Apple Mail will display attachments that are one page or less. While the photo will be displayed it is sent as an attachment. The recipient can click and drag the photo to their desktop just like any other attachment.

  • Help sending out long email message from ORACLE PL/SQL

    Hello,
    I need help sending out long email message from ORACLE PL/SQL.
    My message(email body) contains about 4000 characters and comes out truncated somewhere on the middle.
    My business requirements do not allow me to send it as attachment.
    I am using oracle utl_smtp package and on oracle 10gR2.
    Is it possible to send out long text message from Oracle?
    Thanks!
    Ia

    Thank you very much for your responses.
    Even if I use email procedure below my message is getting truncated.
    Here is how I am trying to execute the procedure from sql plus:
    DECLARE
    P_SENDER VARCHAR2(32767);
    P_RECIPIENT VARCHAR2(32767);
    P_SUBJECT VARCHAR2(32767);
    P_BODY VARCHAR2(32767);
    BEGIN
    P_SENDER := 'xxxx@yyy';
    P_RECIPIENT := 'xxxx@yyy';
    P_SUBJECT := 'long text message';
    P_BODY :=
    '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    9 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    10 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    11 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    12 34567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    21 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789';
    EMAIL ( P_SENDER, P_RECIPIENT, P_SUBJECT, P_BODY );
    COMMIT;
    END;
    SQL> @long_sp;
    PL/SQL procedure successfully completed.
    The email message is:
    long text message
    xxx@yyyy
    Sent:     Tuesday, May 25, 2010 6:52 AM
    To:     
    xxx@yyyy
    1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 7 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 8 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 9 12345678901234567890123456789012345678901234567890123456789012345678901234
    Message is getting truncated around 1000 characters.
    What am I doing wrong?
    Please help!
    Thanks!!

  • How can I create a PNG or JPG screen capture or screenshot of the entire length of a long email message?

    Hi all,
    I need to create screenshots of emails, but I need to image the entire length of those emails. Can I using Mail or any other email application? Here is what I have tried so far ...
    I can only do a screen capture of the portion of the email that shows up on my 27" Mac. I can reduce the size of the emails somewhat, but usually not enough to capture their entire length.
    I tried going through Gmail using Firefox + Awesome Screenshots plugin, but couldn't get Gmail to open entire page so as to capture it. Normally I view this Gmail account using Apple Mail.
    "Printing" to a PDF is not an acceptable solution for my needs, because that changes the native formatting to fit the print / pdf format. I need to show the exact email layout as thought it were an actual email.
    Any ideas? Thaks for your help.
    Marco
    27" iMac
    Mountain Lion OS X 10.8.5 (12F45)
    3.4 GHz Intel Core i7
    4 GB 1333 MHz DDR3
    AMD Radeon HD 6970M 1024 MB

    Installed ScreenGrab add-on to Firefox and, sorry, it still only captures the window to the extent that it is open, and there is no way that I know to open an email window in Gmail so as to show the netire lengthof a long email message.
    So, ScreenGrab helped me get more screen capture of an email, but still not yet the entire email. I used Save>Complete Page/Frame, but still no more than what is visible.
    I'll keep looking. And thanks for your suggestion Sabatica.

  • HT1277 I have OS X 10.9.2 and have downloaded maverick. If I am sending an email message to one person, options for addresses  from my address book show up. However if I want to send it to more than one person, the address options for the others do not sh

    I have OS X 10.9.2. and have downloaded Maverick. If I am sending an email message to one person, options for addresses from my Address Book appear. However if I want to send it to more than one person, the potential addresses for the other persons do not show. Can you please help?

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Is anyone else having a problem sending a mail message with PDF attached?

    Is anyone else having a problem sending a mail message with PDF attached? I receive the following message:
    Sending the message content to the server failed.
    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
    Is there a fix for this?

    Anyone?  I was hoping my problem would just 'fix itself'...  but I still have some clients telling me they're not receiving any email from me.  I've since deleted that account on my computers and re-added it.  But still having the same issue. 

  • I cant send long text messages

    I have noticed that everytime I try to send a long text message (over 160 texts) the person never recieves it. In combination with no notificatin of going over 160 characters, not being able to resend or cut and paste this is becoming a big and annoying problem for me. Is there something Im missing or is this just another major inconvience of the iphone? I love some things about the phone but there sure do seem to be some major flaws. Any help/advice?

    thank you for such a quick response. Yes the recipient is another at&t customer using a blackberry. I never had a problem sending long text messages before getting my iphone (think the record with my old phone, a sony ecrisson w580i was 10 text messages long). I tried testing it today sending one that was 159 characters and one that was 161 characters, the 159 was recieved while the 161 was not. I tried contacting at&t and recieved a very shady answer (they suggested maybe the signal in the area which I reluctantly accepted at the time, however as time has gone on it has become obivious this is not the problem). I figured it must be another iphone characteristic however the lack of other owners mentioning this problems led me to seek help.

  • When i send a text message with my new iphone 5 to my wife who is now using my old Iphone 4 we both receive the message. How is this possible? Also she receives all text messages sent to me

    when i send a text message with my new iphone 5 to my wife who is now using my old Iphone 4 we both receive the message. How is this possible? Also she receives all text messages sent to me. She obviously has a different phone number and a different provider

    See here to create a new apple ID
    http://support.apple.com/kb/HE37
    good luck

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • How to send a SOAP message with attachments

    How to send a SOAP message with attachments thru webservice using axis-1_3 can any one sujjest.............................

    Please refer
    http://www.javaworld.com/javaworld/jw-09-2003/jw-0912-webservices.html
    http://xml.sys-con.com/read/40315.htm

  • Setting windows mail as default "Mail To" doesn't work as usual. Opens entire windows mail vs. email new email message with subject and URL inserted

    I have a problem never had B 4. Have installed new Win7 OS many times and imported windows mail. Always when choosing windows mail in FF it worked. Now when doing I get windows mail program opening or if open coming to forefront or screen. Supposed to get a new email message with subject and URL inserted. I have searched many answers fro FF & MS. I have set WinMail as default, add ed same in reg, etc. etc. Still NADA. Any ideas? thanks

    You should post here:
    Microsoft Office forums >
    Word IT Pro Discussions
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Since last weekend (3-15-15) I have been unable to send/receive text messages with a friend who has Sprint service. The messages send with no errors on either side, but neither side is receiving the messages. Is anyone else having any similar issues?

    Since last weekend (3-15-15) I have been unable to send/receive text messages with a friend who has Sprint service. The messages send with no errors on either side, but neither side is receiving the messages. It seems to be only this one person affected by this issue, everyone else that I've tried sending messages to has responded with no trouble. Is anyone else having any similar issues?

    Retrohacker, Your text messages are too important to be missed! Let's figure this out, together. Are you able to successfully make and receive calls from your friend? Which phone do you have with us? Any new messaging applications or changes that you can recall on the phone since this issue began? Please share details so we can get to the bottom of this for you.  TanishaS1_VZW Follow us on Twitter @VZWSupport  If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • HT3529 I am confused about messaging. Shouldn't I be able to send and receive messages with cellular data off?  I can usually send the message, but often do not receive messages until I either have wifi or turn cellular on.

    I am confused about messaging. Shouldn't I be able to send and receive messages with cellular data off and without wifi? I can send the message but often do not receive messages from others, iPhone or other, until  I turn on cellular or wifi.

    Depends on the type of Message.
    SMS messages will send and receive with data off.  and while you can guarantee you send using SMS you cannot guarantee that whoever replies to you does also. They may be replying thorugh iMessage if they are using iPhones.
    However Android should be sending through SMS.
    You can turn off iMessage if you want to, though people with limtied SMS text messaging in their plans may not appreciate it, and stop messaging you.

Maybe you are looking for

  • Change default calendar in iCal?

    I have two google calendars which sync properly with iCal. However, the wrong calendar is on top (listed alphabetically). When I enter a new event from iCal, the default is to go to the wrong calendar. How can I switch them, or convince iCal to only

  • Does the HDMI port work on the Cisco set top box?

    I just bought a new tv (LG model 24MA31D) and the Verizon tech hooked up the FIOS set top box to it using the composite cables that came with it. The tv only has one set of ports for the 5 cables. To use my Wii I have to either trade out all the cabl

  • How to do this with one query?

    here is the basic query <cfquery name="getCenturies" datasource="#application.dsn#"> SELECT riderId, rideDistance, rideDate FROM mileageLog WHERE rideDistance > 99 </cfquery> and my results would be something like Kevin 114 Chris 103 Kevin 100 Don 10

  • How do I change SSID setting? Getting message "using network with default ssid'

    Getting message "using network with default ssid'

  • Any way to export with multiple presets at once?

    Hi! Is there any way to export with multiple presets at once? I do a lot of product photography, usually clients send me around 5 to 10 pieces to photograph, and from each photo requires to be exported to about 7 different formats and sizes for diffe