Invoke the email with the subject

I invoke with pre-populated email to: and subject: fields.

query: {InvokeQuery}

mimetype: "text/html".

invokeTargetId: "sys.pim.uib.email.hybridcomposer".

invokeActionId: "bb.action.SHARE".

URI: "MAILTO:[email protected][email protected][email protected]&SUBJECT=A%20SUBJECT&BODY=THAT%20BODY".

}

The result is that the uri is invoked as the body text of the e-mail.

Try my code:

InvokeActionItem {
  title: qsTr("Email")
  query {
    invokeTargetId: "sys.pim.uib.email.hybridcomposer"
    invokeActionId: "bb.action.SENDEMAIL"
    uri: "mailto:[email protected]?subject=Hey!&body=w00tw00t"
  }
}

Tags: BlackBerry Developers

Similar Questions

  • Can I block all emails with a place in their address. I have outlook express 6.

    I recently started to receive SPAM wiith square instead of alphanumeric in my emails in their area of the object. Can I block all e-mails with squares in the subject.

    Not directly, but you can block a message without letters or numbers in the subject.

    Box 1 - where the subject contains specific words
    Box 2 - remove server, or remove it and stop processing more rules to send to deleted items.
    Box 3 - Click on the blue "Contains specific words" and add * one at a time *.
    a, e, i, o, u, y, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
    Click: Options and implement: does not contain a...

    {This is how it has been suggested to create the rule for a long time. {I understand the whole alphabet so an email with a subject like XP will not be rejected}.

  • Why emails downloaded with the subject and the address is different from what is actually in the email?

    The object and the address listed in the message pane are completely different from what is in the actual email, read in the pane display or when the e-mail is opened. The e-mails are correct given online. For example:
    Subject A has an A - email sender email
    E-mail subject B of B of the sender - email B
    Topic email of sender - email C of C
    After the download of Thunderbird:
    Subject A has an A - email sender email
    E-mail subject B of B of the sender - email B
    Email subject of C of the sender - email A * subject and sender in C but which is actually an email

    This started happening in the last month, and seems to be random. Sometimes, everything is correct. But more often there is a little exhibit the behavior above. I have several email download from the same domain, but this problem seems to occur ostly with my main email account.

    Restart with disabled modules does not solve the problem. However, I think I found the cause and solution. I was using Windows Security Essentials support for XP until April 12. I installed another sequel, FortiClient, I used successfully on another computer (not e-mail). FortiClient was the problem, in my opinion. I replaced it with something else a few days ago and have not experienced this problem since.

  • My Outbox is suspended (swirling circle) with a large attachment... It's been 4 days now and beneficiaries become the subject of the email, but no attachment every few hours. I tried airplane mode turn off etc. and not good. Help!

    My Outbox is suspended (swirling circle) with a large attachment... It's been 4 days now and beneficiaries become the subject of the email, but no attachment every few hours. I tried airplane mode turn off etc. and not good. It seems that I can not stop the email to send so that I can access and delete it. Help!

    delete the account and set it up again

  • AutoComplete in the subject line of the email in google no longer works. Gmail allows you to work with the autocomplete object line and unresponsive.

    Somewhere in the Google and Firefox updates history of matter does not remember the common topics that I use every day. The auto saved type me the subject line every time I send repetitive messages and mail to different groups. Not online forums seem to have an answer, but many have the problem. I don't know if it's a browser issue or a problem of Google.

    Follow the suggestions mentioned in the following articles:

    Check and tell if its working.

  • Invoke the E-mail with attachment

    Hi guys,.

    IM I invoke the email with a built-in attachment application.
    I read to analyze the data in the JSON Format to the InvokationRequest, but I'm not sure how exactly to proceed.

    Here's what I have so far

    InvokeManager invokeManager;
    InvokeRequest request;
    
    request.setTarget("sys.pim.uib.email.hybridcomposer");
    request.setAction("bb.action.COMPOSE");
    request.setMimeType("message/rfc822");
    
    QVariantMap mail;
    
    mail.insert("to", QUrl("[email protected]"));
    
    request.setMetadata(mail);
    
    InvokeTargetReply *reply = invokeManager.invoke(request);
    

    AFAIK, this should add the address [email protected] mailto-field, but it's not.

    Does anyone know what im doing wrong or what is missing.

    THX

    Smolof

    Sorry for the delay. Here is how I got it working this morning.

    void InvokeEmail::sendEmail() {
        InvokeRequest request;
        request.setAction("bb.action.COMPOSE");
        request.setMimeType("message/rfc822");
        QVariantMap data;
        data["to"] = (QVariantList() << "[email protected]");
        data["subject"] = "This is a subject";
    
        data["body"] = "Hello there, things are great!";
        QString logpath = "/accounts/1000/shared/documents/test.pdf";
        QString logpathEncoded = QString(QUrl(logpath).toEncoded());
        qDebug() << "## LOG PATH: " + logpathEncoded;
        data["attachment"] = (QVariantList() << logpathEncoded);
        QVariantMap moreData;
        moreData["data"] = data;
        bool ok;
        request.setData(bb::PpsObject::encode(moreData, &ok));
    
        m_invokeManager->invoke(request);
    }
    

     

  • Opening an email with the native Viewer

    I have seen a few examples by which the native email Viewer can be opened at various stages of composition of mail, but I try to open an email enxisting...

    According to the last entry on this page:

    https://developer.BlackBerry.com/Cascades/documentation/device_platform/invocation/email.html

    Who is seems possible assuming a URL format of:

    PIM:message / rfc822: [accountID]: [messageID]

    So I tried to do exactly this in several ways, but I always find myself with an empty email ready for composition (not what I want).

    I don't know if the uri of the message must be in the request "form data", or simply by calling setUri on the subject of the request. For example:

    request.setTarget ("sys.pim.uib.email.hybridcomposer");

    request.setAction ("bb.action.VIEW");

    request.setMimeType("message/rfc822");

    QVariant Accide is QVariant::fromValue(m_currentAccount.id());.

    QVariant mID = QVariant::fromValue (m_currentMessageId);

    QUrl url = QUrl ("pim:message / rfc822:" + accID.toString () + ":" + mID.toString () + "");

    QByteArray data;

    Data.Append ("[{\"uri\ ": [------" "]"}] ");

    Data.Append (URL. ToString(QUrl::None));)

    Data.Append ("------"]}] "");

    InvokeTargetReply * response = invokeManager.invoke (request);

    "[{[result woud in data containing" [{"uri": ["pim:message / rfc822:1366609299:773"]}] "]}]."

    but alas no e-mail, even if replaces the last bit with:

    QUrl url = QUrl ("pim:message / rfc822:" + accID.toString () + ":" + mID.toString () + "");

    request.setUri (url);

    for example, url looks like: "pim:message / rfc822:1366609299:1206".

    always end up with a white, ready to dial, email? Clues as to what I'm missing?

    Kind regards

    KeV

    Looks like the documentation is wronge. If you want to display an existing email, on what the target should be set

    'sys.pim.uib.email.previewer '.

    You had to use the mechanism of queryTarget to figuret this point.

  • T - Bird does not check the subject line of an email. (v24.4.0).

    Hello
    When you compose an email that I chose to have Thunderbird 24.4.0. Search for the words misspelled with underlined time and spell check before you send him.
    During testing, I noticed that he points out and checked out everything except the line 'object '.
    Thunderbird will highlight misspelled words in the "Subject" line but not seeking a correct word before sending them as it does with the body of the email.
    You are aware of this and there's a difficulty on the way?

    Thank you very much
    -v-

    It is true that when you select Options/check spelling, the object is ignored, but if "The spelling as you type" is activated, subject misspelled words are underlined, and right click on the text proposed corrections. So, it works in a limited sense. This bug may be relevant.

  • Sound for incoming emails with the text of the specific object?

    I want emails coming to make an alert sound and some can't. I know that I can give senders the VIP list and have the phone makes a sound when their emails is available, but I want to base this decision on a specific string in the subject/body of the email, don't not from which it comes. Is this possible with iOS?

    NO.

  • Invoking the application of a midlet blackberry email client.

    Hi guys, I am trying to invoke the blackberry native E-mail application, trying to do until now I'm able to view email compose screen and the data filled in, but my problem is after he gets invoked from in my application it never get all events, as I can not kick it, the BlackBerry shortcut menu does not appear the menu only one that works is the menu that appears by pressing the keys (trackball).

    All events, including the characters of that type in the body of the message i don't get it.

    Please help me.

    what I have done until now is the following:

     net.rim.device.api.system.Application.getApplication().invokeLater(new Runnable()
                {
                    public void run() {
                        MessageArguments mArgs = new MessageArguments                                          (MessageArguments.ARG_NEW,to,msubject, mbody);
                        Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, mArgs);
    
                    }
                });
    

    with the code above in invokeLater, I even tried without invokeLater but in vain.

    my scenario is a user clicks an option in the menu contextual app Feeback Email application opens and with the preset values user can edit too with his comments.

    Thank you

    JH

    Thanks guys, but now I found the solution for my problem mentioned above.

    the issue was with event management, even if my app was painted with screen e-mail editor events received to my main application screens, so I put control of all handlers on the current active form.

      public boolean checkActiveScreen()
       {
           net.rim.device.api.ui.Screen scr = net.rim.device.api.ui.UiApplication.getUiApplication().getActiveScreen();
           net.rim.device.api.ui.Field f = scr.getFieldWithFocus();
           if(null != f)
           {
               return false;
           }
             if (scr instanceof net.rim.device.api.ui.container.FullScreen)
            {
                return false;
            }
            else if(scr instanceof net.rim.device.api.ui.container.MainScreen)
            {
                return false;
            }
            else if(scr instanceof net.rim.device.api.ui.container.PopupScreen)
            {
                return false;
            }
    
           return true;
       }
    

    If the function above has solved my case.

  • I use different e-mail accounts: I send an email with the sender A (standard!), email is archived to the sender sent archive and the email is sent to the sender, B

    A really strange problem!

    I use different e-mail accounts. I send an email with a sender (defined as standard!), email is archived in archive A sent from the sender, the sender is wrote in the header of the email as the sender, but the email is sent with the sender B written as the sender in the email received.

    Best regards, Michael

    It sounds like you do not use the right smtp server to send the e-mail.

    Please check what 'Sender A' smtp server account uses.
    'Tools' > 'Account settings' for the e-mail account
    or
    Right click on the email account in the folders pane, and then select "settings".
    Lower-right - outgoing (SMTP) server - select the correct SMTP server for that e-mail account.
    See the image below as an aid.
    Click OK

    If you are unsure about what to do please post the following information:

    In Thunderbird

    • Help > troubleshooting information
    • Click on 'copy text to the Clipboard.
    • In the forum, in this issue, right-click in a text box ' Post a reply ' and choose 'paste '.

    Tell me the number of the account which is "sender."
    Tell me the number of the account how recipient sees as venues.

  • When I reply to an email with attachments, I lose the original email attachments. How to make a comeback?

    When I reply to an email with attachments, I lose the original email attachments. How to make a comeback?

    Peter

    MacAir mid 2013

    MOSX 10.11.6

    Consult your mail > Preferences > composition > include all of the original text

    Mail > Preferences > accounts > advanced

  • Since the upgrade to 31.1.0, I can't send an email with an attachment. I'm under OpenSuse 13.1 on KDE. How can I fix?

    If I try to send an email with an attachment or a picture inserted, it starts to send with a progress bar that will read a 80 to 95% completion and then stay there until it times out after a few minutes. I get this error: failed to send the message.
    The message cannot be sent because the connection to the server of SMTP outgoing.verizon.net expired. Try again or contact your network administrator.
    I use the same provider of e-mail for several years. This works for emails of simple texts without problem. If I try to transfer or to respond to an email, I get the same error.
    How can I fix?

    Thank you

    Robert

    OK, I thought about it. As I was going through the configuration editor, I saw the outgoing server settings. It made me wonder if something had changed. I went to my provider and reinforced through their list and found where mine differ. If the update for thunderbird changed something or verizon changed something.
    Thanks for the comments.

  • I need a way to send emails with the SAME unique 'from' and 'reply-to' address that my current method to use a generic account is at the origin of the problems.

    I have my own areas and when I email companies and organizations I always give them a single as e-mail address: [email protected]. This helps cut down on SPAM and identifies when organizations are hacked so I can 'kill' individual addresses with my domain registration.

    I currently do this by using a temporary NOSPAM Thunderbird "generic" account "from" address (which I need to change from time to time and 'kill' with my domain registration to prevent SPAM) and I change the 'reply-to' address when I send an email to such an organization. What tends to work OK most of the time, but often the 'reply-to' address is lost at the other end, perhaps when the emails are forwarded internally. This can leave some temporary old sent emails "from" addresses never happen to me.

    Much cleaner would be to send these emails with identical (and unique) 'from' and 'reply-to' fields. Someone has ideas how to achieve this goal, but obviously without creating an individual account each time? If Thunderbird helped change the address 'from', in special circumstances, it might be a solution.

    Have you considered adding several identities to the main account? In addition, there are modules allowing to select the correct identity to send messages:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/identity-Chooser/

    https://addons.Mozilla.org/en-us/Thunderbird/addon/correct-identity/

    and another which might be of interest: https://www.absorb.it/virtual-id

  • How can I change the subject line of a thread in emails?

    Is there a way to edit the subject of an email? Both the subject of conversation changes throughout a continuous thread of emails, and I would handle this by editing the topic prior to filing in a folder.

    No need for an app - just read the 3rd link in my answer on how to install.

Maybe you are looking for