Copy the contents of the e-mail

Hi friends,

I invoke 'Blackberry messages' to send an email from my application. Y at - it an option to copy the content of the email to my request, while I send the email from 'blackberry message.

No, this is not possible, unless you use a menu item that the user will have to press.

I suggest that you create your own mail editor (just an editfield, for beginners) and send the message yourself.

            // Create a Message            Store store = Session.getDefaultInstance().getStore();            Folder[] folders = store.list(Folder.SENT);            Folder sentfolder = folders[0];            net.rim.blackberry.api.mail.Message msg = new net.rim.blackberry.api.mail.Message(sentfolder);            // Specify the message contents            try {              Address toAddress = new Address(mailAddress, name);

                msg.addRecipient(net.rim.blackberry.api.mail.Message.RecipientType.TO, toAddress);                msg.setSubject(subject);                                msg.setContent(messageText);                   // Send the message                Transport.send(msg);            } catch(MessagingException e) {                            System.out.println("error while sending the mail: "+e+" "+e.getMessage());            }

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Q10 how to copy the e-mail address of a sender in another email to send to another person?

    With a Q10 how to copy an email address (without contact) recipients e-mail received in the body of another email? With my Torch 9800 I could click on the name of the person who sent me the email and select "Show email address" and then click on copy. I can't understand how to do this with a Q10.

    With the Q10 when I open an email that I can see the senders email address when I type the blue header to pass,

    Name

    Date/time of receipt

    See

    Name

    email address

    I need to copy this address into another email as simply transfer it to another person does not display email address.

    Thanks for any help,

    Kind regards

    Brian

    Try this Brian... Once you open the e-mail, type the name of the sender, it will then show the email account and to which it is sent in an expanded view. Now tap and hold on the sender name again, the right vertical bar should now appear, select copy name. Head to the new body of the e-mail, press and hold in the body of the email right vertical bar appears, select Paste. Note that it will also stick the name next to the email address, so you can delete if you do not need.

    This is how I do it, found nothing as fast as this so far. Hope that helps.

  • copy the e-mail addresses and send to others

    How e-mail details of the groups of contacts or distribution lists to my address book outlook 2007 to someone else?

    To export the address book :

    1. Select "file > export > address book...". "in the main menu

       
    2. Select "text (comma-separated values) file.
       
    3. Click on "export".
       
    4. Type a file name in the input box "Save exported file as".
       
       
    5. Click "next".
       
    6. Optionally, select the fields you want to export and click "Finish".
       
    7. Click on 'Close' once the export is complete

    Then comes an attachment that you want to send the address to. And ask them to import it like this:

    1. Select "file > import > address book...". "in the main menu

       
    2. Select "Microsoft Exchange personal address book"
       
    3. Click on 'Import' and click on 'Close' once the import is complete

    Good luck! Please rate me upward if you find my post helpful. Thank you!

  • I get the message "there is no set application to open the URL mail:sots@bbc.co.uk.

    I copied the e-mail address specified in the heading above the BBC site and then tried to paste into a new message in Mail, but without success. Since I get popup messages as shown in the title which precedes but does not know how to stop them. I tried searching the forum but without success. Can anyone help please?

    It is a tag HTML of a web page, in a Web form page well this tag will open an email client to send an e-mail message.

    You can not copy and expect it to work in an e-mail.

  • Can someone tell me how I can copy the contents of a folder in e-mail on a usb key, please?

    Can someone tell me how I can copy the contents of a folder in e-mail on a usb key, please.  I use Outlook Express.  Thank you very much.  Eve

    Very easy.

    Create a folder on your desktop or elsewhere as My Documents, and then in Outlook Express open the folder with the messages you want to save. Highlight a message, and then Ctrl + A will highlight all (or Ctrl-button down while you select only messages you want), now, drag and drop them into the folder on your desktop. Now you can copy this folder to Flash.

  • Copy the contents of the e-mail iCloud on a flash drive

    I would like to close an iCloud email account and if you need to copy the contents of the folders of files on a flash drive for later use.  I have not found an easy way to do it.  Any suggestions?

    Not without using a computer. With the computer you simply drag and drop.

  • Thunderbird does not work properly after copying old content profile in the new profile, what can I do

    My old laptop crashed, but fortunately I got the hard drive out, who now works as an external drive. I installed TB on my new laptop computer. I copied the contents of the old file to profile in the new profile file and start of TB. I have all my files of pace, but TB does nog works correctly. After that connection, it takes forever to load the new messages, when I leave a message to another, the first answer I get is "TB not responding' and after a few minutes, I finally get to the next message. Same story with 'reply' or 'delete '. I already tried to delete the index file and have tuberculosis still indexing message folders, but this did not help.

    I noticed that my old profile files seems to have a sort of double files in the subfolder Mail, old accounts. For example: pop.tele2.nl, pop.tele2 - 1.nl, pop.tele2 - 2.nl. I'm not sure what they are (they seem to hold different versions?) or is it relevant?

    When I search the AppData/Roaming/profiles I'll find it (on the old and the new hard disk as well) but I can not navigate on him (some parents of hidden file)? I checked the rights on the files of my account profile (Administrator rights). I don't know what to do more, so I hope to help.

    Re: for example: pop.tele2.nl, pop.tele2 - 1.nl, pop.tele2 - 2.nl.
    Here's the e-mail accounts for pop e-mail account. If you have several addresses on the same server, it will have the same name but an additional example:-1 appended to the name. If you got an e-mail account, it can also create and add the additional number. Why you have several, I can't say with certainty what caused them without knowing what you have done. The point being, you must have the directory Local pointing to one that is correct and has all your existing emails.

    Profile files are hidden files.
    http://KB.mozillazine.org/Show_hidden_files_and_folders

    Info on profile:
    http://KB.mozillazine.org/Profile_folder_-_Thunderbird

    What local directory is set to the e-mail account?
    "Tools" > "Account settings" > "Server settings" for the e-mail account
    bottom right under "Local Directory"
    It will say something like this:
    C:\Users\User account name\AppData\Roaming\Thunderbird\Profiles\abc12345.default\Mail\pop.tele2.nl

    Copy paste the info on this issue, so I don't know which e-mail account you use.

    How many email accounts you listed in the left pane in the account settings? You have just the one pop email account and local folders?

    What antivirus do you use?
    If you McAfee please read;

    How many emails you have in the Inbox folder?
    It is advisable to use the Inbox folder as a mailbox for incoming mail, and not as a general storage. Suggest you create folders and move all the emails in the Inbox in other appropriate folders, then right-click on Inbox and select "Compact".

    Good info explaining what is compaction and why it is important:

    It is also a good idea to Archive mail older than a few months.
    Implemented for archive by month and keep the structure of archive folders. These emails will still be visible by 'Archives' folder and in your profile, but check-in will reduce the size of files and therefore less memory use during their opening.
    Info on archiving Options:
    https://support.Mozilla.org/en-us/KB/archived-messages

  • Not able to copy the url of the mail in Mail 10.0

    Summary: Ability to copy the url from an email in Apple Mail lost since the upgrade?

    Hello

    Sometimes I copy the url from an email in Apple Mail in an event in the calendar to find emails that I need quickly at a meeting. I then simply click on the link in my calendar of events a be returned directly to the email in Apple Mail.

    However, the ability to copy the url from an email in Apple Mail seems to be lost since the upgrade. Anyone with the same problem or solution?

    Best regards

    I can provide a workaround solution. Use Wunderlist. It's free. Once you have validated your email, you can forward the email to me@wunderlist and a new task will be added with the attached email.

    Select this option to add items Wunderlist calendar Wunderlist Preferences > accounts.

    I even tried dragging an email on the desktop and choose to share. Calendar was not an option.

  • Lose or damage received the content of the e-mail, can see the fault once then apparent on refresh. worm 38.4 on 64-bit Windows8.1 / thank you

    Thunderbird worm 38.4/8.1 windows 64 bit
    Emails in the Inbox display content on the first reception. During subsequent attempts to display the message content can be completely empty or the contents of another adjacent email in the list. This seems to have started at the time that Norton detected and quarantined a couple of emails with identified the virus attached.
    After you run the full system antivirus scan I backed the content of the 789abc987.default of profile to backup taken yesterday. Now new emails coming to see the same problem, so that up to this older email display correctly.

    Unfortunately it doesn't seem wise to disable antivirus because in business, even if you wait for an attachment and you know the source, the technical capabilities of the source is not always known.

    I suggest to disable antivirus. Indeed, it would be a bad choice.
    The point is not to analyze the attachments so that they are still part of the e-mail message.

    Some form of holding directory which allow scanning prior to arrival in the mail app would be nice

    I don't know what you want to achieve by doing this. Yet once, any malware eventually joined an e-mail won't hurt as long as you do not deliberately open or run the attachment.

    Save an attachment to disk and then let it scan by anti-virus would be a good strategy.

  • My "sent" folder that I sent in, but the content of the e-mail is empty

    As above: my "sent" folder that I sent in, but the content of the e-mail is empty. It happened recently (3-4 days).

    Right click on the folder "sent" - Compact.

  • Try to spend XP to W10. Tried to copy the content of the profile (IE not the profile itself) immediately after installation but no joy.

    Try to get an old laptop XP to a new computer laptop of W10 thunderbird.
    Located existing profile and backed up on external hard drive.
    Thunderbird installed on W10 and before breakfast copied the contents of the old profile folder to the profile under AppData/Roaming/Thunderbird/Profiles/profile.default folder
    Launch thunderbird and it does not recognize the profile, it is as if she is trying to set it up from scratch.
    Then tried to create new profile and copying the contents of the old profile of XP, but it did not work.
    Then looked at the Add-ons, but the lightning it is not present, so could not remove it.
    Any other suggestions?

    C:\Documents and Settings\Fraser\Local Settings\Application Data\Thunderbird\Profiles\elvh5ttl.dfault

    This is not the path of the correct profile for XP.
    Check this article and make sure that really copy you the profile folder.
    http://KB.mozillazine.org/Profile_folder_-_Thunderbird#Windows_2000_and_XP

    I do not understand why you created a second profile. With two profiles, you must always be careful to start Thunderbird with the right profile.

  • Thunderbird crash when sending a message or a copy in the sent mail

    I use Thunderbird on Yosemite 10.10.4 38.2.0 (Mac), to connect to Gmail via their IMAP server.

    I have been using Thunderbird for many years. The last two weeks, a problem has resurfaced. It seems that Thunderbird loses contact with the IMAP of Gmail server. Two things occur:

    (1) crashes when sending a message: it hangs on "connecting to smtp.gmail.com. After awhile, I hit cancel them and send again and the message passes through. (screenshot attached)

    (2) hangs when copying to sent mail: I compacted my sent mail folder and it still hangs. Yet once I hit Cancel, and he me reprompts. After clicking ok several times, he finally saves the email in the folder.

    I am also intermittently an error message "unable to run filters on the message" or something like that. Sporadically, in this case it is so difficult to reproduce.

    I have a feeling that the problem is actually the Google server. I was in a new access provider, so at first I thought it was related to this. However, I have tested this in two places, including my university network (temple.edu) and observed the same problems. So, I don't think it's my local network connection.

    I found no information that Google has hurt. I think that other users would see the same thing. The problem with the copy sent mail before in older versions of Thunderbird. The usual alternatives were to compact the file and play with the process boundary setting.

    This is the case on almost every message I send now, and I send a lot of email, so I need to help this debugging.

    Thank you.

    By lifting the server indicates you have DNS problems. Something other r4eport as being useful is a ditch their ISP DNS and use Googles. It's
    IP 8.8.8.8 and 8.8.4.4. For instructions, see https://www.opennicproject.org/configure-your-dns/how-to-change-dns-servers-on-a-mac/

    However, do not check e-mail in the "sent" folder is also very annoying because I can't delete this folder.

    Normally, Thunderbird saves mail in the sent folder. In the case of Gmail, all outgoing mail is autoatically added to the Gmail sent folder, and in the case of IMAP synchronizes it to the same folder in Thunderbird. So I guess that you are not using IMAP for your mail. Would this be the case? If you use POP, do a right-click on the account, select settings and folder on behalf of copies and put so save outgoing mail. Maybe it's that, for your EDU that Google do not save in the folder mail. In this case with regard to POPs.

  • I show is no longer a notice that allow me to block or approve remote content in individual e-mail messages. I would like to receive the restore function. How?

    This "menu" was automatically appear. He stopped to show. I want to restore it. (Also, why he stopped showing?) A thought, I recently changed my setting re. accept cookies. Now I wonder every time if I allow or refuse them. Would that have something to do with the menu remote content stopping...?)

    It looked like this:

    Edit Remote preferences
    allow remote content for xxx@xxx
    always allow remote content to xxx@xxx
    etc.

    The current version should display the following message with a remote content.

    "In order to protect your privacy, Thunderbird has blocked remote content in this message.
    There will also be an 'Options' button next to the message.
    Click on the 'Options' button to get a drop down menu.

    • "Display remote content in this message.
    • "Change the remote content options.."
    • "Allow remote content to the e-mail address.

    If Thunderbird still seems to be allowing remote content, check the settings:
    Tools > Options > privacy
    or
    Menu icon > Options > Options > privacy

    Under "Mail content.
    Do not select the checkbox "allow remote content in messages.
    She should not be selected by default.
    To check all the exceptions that you have already set up, click the 'Exceptions' just right

  • What is the best way to copy the 700 lots of e-mail files to a new computer?

    I'm moving my wife and an old (Thunderbird, Win XP) computer to a new computer (Thunderbird Win 7). It has about 700 local folders with thousands of emails in them. What is the best way to copy to the new computer?

    The easiest is just to copy the whole profile.

    Menu help > troubleshooting information

    Close Thunderbird

    In windows Explorer, select all and copy.
    just stick on a thumb or other portable media to read/write (not the CD or the DVD)

    on the new Machine to repeat the troubleshooting and close the steps to get the current profile folder

    This time all the portable media stick in the profile to replace what is there

    Open Thunderbird, your additions of e-mail contacts does it all

  • Is it possible to fix long (45 to 90 seconds) delay in the copy of the messages in the sent mail folder?

    Thunderbird is synchronized with IMAP for GMail account. The only time delays occur is to copy messages to the sent mail folder. A question, is memory or storage in Thunderbird?

    We have a very recent 8.1 Windows desktop with light personal use only. lots of storage.

    The messages being recorded slow figura in a XP 10 year sytem, we've used before.

    So no, we don't have that many files!

Maybe you are looking for