Save the message as a draft

Hi all

When compose us mail using the Mail API and send it using Transport.send (msg). The e-mail is saved in the sent folder. I can give the possibility to register the letter as a project?

Indications will be useful.

Thanks in advance,

Sandeep

Hello

Take a look at the folder class. There you can addMessage to project folder.

A folder = Store.getFolder (Folder.Draft);

folder.addMessage (yourMessage);

I hope this works...

Kind regards

Jochen

Tags: BlackBerry Developers

Similar Questions

  • I can't save the messages in the sent folder, there is a lock on the file name

    the messaging engine Thunderbird ceased to save emails in the sent folder, when I checked the sent folder, it was a symbol of lock at the beginning of the queue file. and an error came up saying "error copy sent the file.

    The padlock, which indicated it still, the account uses a secure connection.

    Now

    So that we can better investigate this problem, you need to add a little more non-personal information.

    Please add the troubleshooting information to your post
    To find troubleshooting information:

    • Open the help (or click Help three-line-icon and select)
    • Choose troubleshooting information
    • Use the copy button in the Clipboard to select them all. Do not check box "include account names!
    • Paste this into your post.

    Please also add the result of these troubleshooting steps to your message

    • Thunderbird works in mode Safe TB (see Thunderbird Safe Mode)?
    • Do you use anti-virus software and firewall? What is the version?
    • Who is the email provider?
    • Who is the provider of the internet?

    Please post back with that information and any other questions you may have.

  • Save the message to Record navigation

    Dear all

    When we run the query on a master form. All records are executed. When we press arrow on main volume down to navigate to the next record, we get a prompt message "do you want to save the changes you made.

    How this prompt can be deleted.

    "DBMS Message Level" does not work here.


    I will always be grateful

    Concerning

    Read this thread on the affects from query and cross-validation when the triggers:
        Message you want to change the modifications you made? caused by a lov

    You have probably a trigger based on query runs on the master or the retail block that is setting a value - even on null - for an element in the block. You should NOT change the values of the base table in a post request. And even if you set non-table of base fields, while this does not affect the status CHANGED, it causes all the triggers validation in the block to be executed during the process of application on each record. And in one of them, you have a code that is development of a field in the database table, which causes the status = CHANGED.

    And then you get the message "do you want to save.

    Often, I put this at the top of my triggers when-validate-point and when-validate-record:

      If :System.Mode='QUERY'
      Or :System.Record_status = 'NEW' then
        Return;
      End if;
    

    The above causes the validation process stops for querying and retrieval of records in your block.

  • I want to save the messages on my computer, but remove them from the server. How can I do this?

    Once I have download the messages on the hard drive of my computer, I want to delete them from the server. What should I do?

    Messages stored in local folders are yours to keep regardless of what is or isn't on any server.

    If you move the messages from the folder in the local folders account it will be achieve your needs in a single action; they will be saved locally and will be deleted from the server.

  • Do you want to save the message changes

    dev 6i, db 10g and win 8.

    I see the above message when I try to enter query given in my block and I see when I try to close

    the form as well, all this without change or add anything to the shape?

    The changes of the only thing is, in a post I wrote

    Select the column in: point from table where..., but the items is not the elements of database?

    I know that's the reason why, because I removed the trigger after application and it works very well, but of course, I need the trigger after request.

    Why do I see the message above if the items is not the elements of database?

    Thank you

    Make sure that your non-base data objects are in a control block instead of a table of basic block.

    Craig...

  • How to save the message in drafts until I'm ready to send?

    I sometimes don't get a finished message and want to save it in drafts until I'm ready to send.  My Windows Mail will automatically send the incomplete message when I open e-mail.  How can I keep a message in the drafts folder until I'm ready to send?

    Vista Windows Mail does not send a message, unless it, or a copy is in the Outbox. He can not send currents of air.
     
     
  • Save the message history

    I want to save my complete history of Skype conversations, but the information is confusing. Following the instructions, after having signed in Skype, I find not the menu 'elusive' - privacy where, supposedly, I can change the settings of the story. A nice person please guide this user apparently naïve, step by step. Thank you.

    Hello

    Skype on android stores only 90 days of messages. But if you want to save your head of conversations on client pc and you should be able to find this menu here.

    All the best
    Siim

  • Delete, save the message in the DIAdem of closing

    Hello

    is it possible to remove or do not present the save message (for the presentation of the State, etc.) to the tiara of closing?

    Thank you very much

    Hi AndiMEC

    You can use the FileModification variable

    http://zone.NI.com/reference/en-XX/help/370858K-01/varoff/filemodification/

    If you set to 'ignore' DIAdem will not, when you close it.

    FileModification = "ignore."

    I hope this helps.

    Winfried

  • To avoid making you want to save the message

    Hello
    When the form is opened, I attribute the SYSDATE value to one of the database element.
    SO, without entering any value, when I get out of means, she asked "do you want to save message.

    How can I avoid this error?

    If I put the following means, I get ' Record has been updated by another user error?

    SET_RECORD_PROPERTY(:SYSTEM.) CURSOR_RECORD, "EMP", STATUS, QUERY_STATUS);

    But if you just write at once - new - form - instance trigger:

    IF
      GET_BLOCK_PROPERTY('DEPT',QUERY_HITS) 0
    THEN
      EXECUTE_QUERY;
    END IF;
    

    and in a time-create-save-trigger:

    :emp.logon_date := SYSDATE;
    

    would be the same effect...

  • Delete the Message to save Oracle Forms in a block of master / detail

    Afternoon and Happy Friday people.

    I use Oracle form 6i.

    I have a master-detail block in my form. They both have several records. When I make changes to the block of retail and I navigates to another record of the block Master, he asks me "do you want to save the changes that you have made?" Yes/No/Cancel options. This is the message embedded in Oracle and not our custom save the message. I also noticed that when I say 'Yes' to this message, it does not in the trigger key - Commit who defeated the purpose of having the trigger key validation.

    Now, this message is coming due to a relationship of the master / detail? Also, what trigger I would seek to trap this message?

    Finally, I also noticed that this message (oracle save message) appears after our own custom message when I said 'No' to our personalized Message to register.

    Any help would be appreciated.

    I was wondering why forms brings the Message of the Oracle of inbulit when I'm sailing up to recording the Master block next

    The retail block must be erased when you navigate to another master to "make room" for the details of this new form of Basic. So, if there are changes in the retail block, forms asking the user what should happen with the changes. If you want to manage this situation yourself, put your own code in the WE-CLEAR-DETAIL-trigger before the call to CLEAR_ALL_MASTER_DETAILS;

  • The message send failed - Please verify your account settings are correct.

    I got Thunderbird established and working for years with multiple accounts. All of a sudden today, I can't send all messages in ANY of my accounts with several Web hosts. The message I get from all of them is:

    The message send failed.
    Check that your Mail & Newsgroups account settings are correct and try again.

    I checked my settings. The look that is configured in the same way they always do. I can send email with these parameters from my phone (K9 Mail on Android program.)

    All my accounts that can receive messages in Thunderbird. I get new messages and I can read them.

    If I try to save a message as a project over IMAP, I get the error:

    Unable to save your message as a draft.
    Check that your Mail & Newsgroups account settings are correct and try again.

    What could possibly change to make Thunderbird exhibit this behavior? I tried without thunderbird downgrade to the previous version and it still had the same behavior. I tried to start in safe mode without the extensions, and he had always the same behavior. Here are my troubleshooting information:

     Application Basics
    
       Name: Thunderbird
       Version: 31.7.0
       User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
       Profile Directory: Open Directory
    
                 (Local drive)
       Application Build ID: 20150511105107
       Enabled Plugins: about:plugins
       Build Configuration: about:buildconfig
       Memory Use: about:memory
    
     Mail and News Accounts
       account1:
         INCOMING: account1, , (imap) sub4.mail.dreamhost.com:993, SSL, passwordCleartext
         OUTGOING: sub4.mail.dreamhost.com:465, SSL, passwordCleartext, true
         OUTGOING: sub4.mail.dreamhost.com:465, SSL, passwordCleartext, false
         OUTGOING: sub4.mail.dreamhost.com:465, SSL, passwordCleartext, false
         OUTGOING: sub4.mail.dreamhost.com:465, SSL, passwordCleartext, false
         OUTGOING: sub4.mail.dreamhost.com:465, SSL, passwordCleartext, false
         OUTGOING: sub4.mail.dreamhost.com:465, SSL, passwordCleartext, false
    
       account2:
         INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    
       account3:
         INCOMING: account3, , (imap) secure.emailsrvr.com:993, SSL, passwordCleartext
         OUTGOING: secure.emailsrvr.com:465, SSL, passwordCleartext, true
    
       account4:
         INCOMING: account4, , (imap) secure.emailsrvr.com:993, SSL, passwordCleartext
         OUTGOING: secure.emailsrvr.com:465, SSL, passwordCleartext, true
    
       account5:
         INCOMING: account5, , (imap) imap.googlemail.com:993, SSL, passwordCleartext
         OUTGOING: smtp.googlemail.com:465, SSL, passwordCleartext, true
    
       account6:
         INCOMING: account6, , (imap) imap.googlemail.com:993, SSL, passwordCleartext
         OUTGOING: smtp.googlemail.com:465, SSL, passwordCleartext, true
    
     Crash Reports
    
     Extensions
       Flat Folder Tree, 1.1.2, true, [email protected]
       Google Contacts, 0.7.12, true, {BDD92442-0534-4D6F-A966-BAB7D561D781}
       NoComposeAccount, 1.3.1, true, [email protected]
       Xpunge, 0.6, true, {786abda0-fd14-d247-bf69-38b2fc18491b}
       Enigmail, 1.7.2, false, {847b3a00-7ab1-11d4-8f02-006008948af5}
       Messaging Menu and Unity Launcher integration, 1.3.1, false, [email protected]
    
     Important Modified Preferences
    
       Name: Value
    
         accessibility.typeaheadfind.flashBar: 0
         browser.cache.disk.capacity: 358400
         browser.cache.disk.smart_size_cached_value: 358400
         browser.cache.disk.smart_size.first_run: false
         browser.cache.disk.smart_size.use_old_max: false
         extensions.lastAppVersion: 31.7.0
         mail.openMessageBehavior.version: 1
         mailnews.database.global.datastore.id: cbdcac30-9bd0-4a88-9a66-31a0abff554
         network.cookie.prefsMigrated: true
         places.database.lastMaintenance: 1435582206
         places.history.expiration.transient_current_max_pages: 104858
         plugin.importedState: true
    
     Graphics
    
         Adapter Description: X.Org -- Gallium 0.4 on AMD RV620
         Vendor ID: X.Org
         Device ID: Gallium 0.4 on AMD RV620
         Driver Version: 3.0 Mesa 10.5.2
         WebGL Renderer: false
         GPU Accelerated Windows: 0
    
         AzureCanvasBackend: cairo
         AzureSkiaAccelerated: 0
         AzureFallbackCanvasBackend: none
         AzureContentBackend: cairo
    
     JavaScript
    
     Incremental GC: 1
    
     Accessibility
    
       Activated: 0
       Prevent Accessibility: 0
    
     Library Versions
    
         Expected minimum version
         Version in use
    
         NSPR
         4.10.6
         4.10.6
    
         NSS
         3.16.2.3 Basic ECC
         3.16.2.3 Basic ECC
    
         NSS Util
         3.16.2.3
         3.16.2.3
    
         NSS SSL
         3.16.2.3 Basic ECC
         3.16.2.3 Basic ECC
    
         NSS S/MIME
         3.16.2.3 Basic ECC
         3.16.2.3 Basic ECC
    

    The problem was that my directory/tmp was not mounted. I don't know why it has not been mounted, but restarting the Assembly fixed.

    Thunderbird was IO error trying to create temporary files. The error messages were misleading, making me think it had to do with e-mail accounts.

  • "Not responding" message at the beginning upward. SOLVED by the creation of a new identity & import the messages from the old to the new.

    This only happens on one of my identities, the rest seems to agree...

    When I start this identity, it's really slow & as soon as I click on anything it says "not responding".

    After some time (about 10 min.), he will finally do something but, after a few clicks he strikes again.

    8.1 Windows, IE 11, new software Thunderbird

    While I appreciated the responses, I have completely abandoned after my last post that with the two security modes by running this identity still did not...

    I found myself fixing by find and save the messages of this identity, creating a new identity folder and import the messages from the old to the new.
    And then deleting the old identity in the list.

    users /(your username)/AppData/Local/Thunderbird/Profiles

  • Related to the previous question, I can SEND, but I receive a message that indicates the message failed to be saved under sent folder?

    Earlier, I posted a question of not being able to download new messages and in the Inbox tab indicates treatment with to solve them. I was wondering if I was still able to send, sent a test email. He sends (I confirmed by downloading the new email on gmail, but I get the message that TB could not save the message in the sent folder. All ideas are problems and if they are related?

    Yes, they are linked. Please just stick to one thread, it confuses the hell out of bunbos like me.

    I'll close it. Please post the picture in our other thread https://support.mozilla.org/en-US/questions/1068937

  • When I send a message firefox says that it is impossible to place the message in the sent file

    The program stalls just when he tries to save my sent mail and I have to respond to an error message and tell him not to save the message. However, he seems to have recorded correctly in the sent mail folder.

    Thanks for your reply... However I have had no response from Thunderbird or Mozilla on my question, and I don't know where to go to follow on that. Could you help me with this
    Thank you

  • Return of the messages to the server?

    I normally always check my email from @att.net from my iPhone, but I opened the Mail on my Mac Pro send myself some .kmz files. Then I went on vacation and realized that I could only display messages from the last week and could not access the .kmz files since I sent them to me 10 days before my vacation (once he would have paid to do later!). Now I'm back, and I discovered this option to remove the copy from the server after you have retrieved a message has been checked, which I still believe is the default setting. I unchecked, but now I have hundreds of messages on my computer that I would like to access from my iPhone. How can I put them on the server?

    Nevermind, I found the answer buried in a discussion closed years ago. Apparently, this is due to not having my set up as IMAP email account, which I think was a thing at the time. I had to save the messages to a folder on my Mac , and then delete the POP account and add as one account IMAP. I can now move the return messages in my Inbox and have restored my phone. Yes, I'm really 5 years and more upgrades without accessing my mail.

Maybe you are looking for

  • How can I check if it is a new laptop?

    G ' Day,. I recently bought a Satellite via eBay, which was advertised as "new". Since buying it, I had to pay for the repairs and as such has investigated the company, who have a history of portable computers purchase refurbished abroad and sell the

  • Mail blocks on each drag and drop operation

    I click on an e-mail address to move it to a folder, and with the first mouse movement email crashes. -------------------------------------------------------------------------------- ------------------------------------------- Process: Mail [7742] Pa

  • Touch smart 520: will the same work of recovery for the smart touch 320 and 520 disc?

    I have 2 computers which were to have the drive to clean up.  They tell me that I needed to first create a recovery.  Can I order a set of disks and reinstall on both?

  • normal and high volume settings

    Hi, I was wondering if someone could help me incase im just stupid, before the firmware update, I have been able to affect the level of normal volume or high (not quite sure, where I also had, but it was in music / audio settings) but now I can not f

  • BlackBerry Smartphone OS 7.1 freezing at boot the system.

    Hello I am user of BB 9900. Last week I had an update of article 7.1 OS. After the installation of the OS, I found that when an update never comes to any software either, BBM or any other it gets stuck any reboots. The bar stops at about 60-70% of st