How to send an Email on ImageButton click?

Hello

I created a form where the user enters some details. I have an image button to 'submit '.

I want all the details by e-mail this entry by the user.

Kind regards

Ajay Sharma

Hey there,

I did the following. I have the Invocation in attached objects

       Invocation {
            id: invokeEmail
            query: InvokeQuery {
                    id: qu
                    invokeTargetId: "sys.pim.uib.email.hybridcomposer"
                    invokeActionId: "bb.action.SENDEMAIL"
                    //uri: "mailto:[email protected]?subject=Mold detected&body=Name: "+ nameText.text + "\nEmal: " + emailText.text + "\nPhne: "+ phoneText.text + "\nMessage: "+ messageText
            }
            onArmed: {
                if (qu.uri != "") {
                    trigger("bb.action.SENDEMAIL");
                }
            }
        }

and I have a button

                    ImageButton {
                        defaultImageSource: "images/ui/send_bt.png"
                        pressedImageSource: "images/ui/send_bt.png"
                        disabledImageSource: "images/ui/send_bt.png"
                        onClicked: {
                                qu.uri = "mailto:[email protected]?subject=Mold detected&body=Name: "+ nameText.text + "\nEmal: " + emailText.text + "\nPhone: "+ phoneText.text + "\nMessage: "+ messageText.text;
                                qu.updateQuery();
                                invokeEmail.trigger("bb.action.SENDEMAIL")
                        }
                    }

And this way it works correctly.

Please try

Tags: BlackBerry Developers

Similar Questions

  • How to send an email to a VI

    Hello..

    I want to know how to send an email to VI. I'm using Labview 8.6. I also tried a few examples. But when I run these screws, I am wrong. This is the error of the smtp server. I have no idea on how to change the settings for the smtp server. Can any body step by step procedure to accomplish this task...

    Plus, I need to send an attachment with this mail...

    Please help me

    Thank you

    Prashanth


  • How do send you emails to not disclose receipents?

    Original title: Receipents undisclosed

    How do send you emails to not disclose receipents?  I get emails addressed to the receipents not to disclose, but I don't know how I can send emails the same way.

    Barbara Hall

    This means that the recipients were specified with the Bcc by sender, rather than by the Cc field.

    BCC = Blind Carbon Copier

    If you can't find Bcc let us know what is your e-mail program.

    Tricky

  • I do not understand how to send an email

    Original title: phobic E-mail
    difficult to understand how to send an email

    Hello

    1. do you have a program of e-mail account configuration?

    Windows Mail is part of Vista, and are the Vista Forums.

    How to set up Windows Mail:

    Contact your ISP (Internet Service Provider); They provide your broadband / dial connection.

    Ask them to:

    1. your username with them

    2. your password with them.

    3 incoming mail POP3 server.

    4. the outgoing mail SMTP server

    All the settings that you need to come from them, not Microsoft; and they are usually happy to help you set up your e-mail program.

    You can use this guide to set up Windows Mail, too:

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finish

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    How to use Windows Mail:

    "Demo: using Windows Mail.

    http://Windows.Microsoft.com/en-us/Windows-Vista/demo-using-Windows-Mail

    "Working with Windows Mail in Windows Vista.

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-Windows-Mail

    See you soon.

  • I have CC line but no line JIU in my Windows Mail and cannot find information on how to send BCC emails.

    I have CC line but no line JIU in my Windows Mail and cannot find information on how to send BCC emails.

    original title: the line JIU in Windows Mail in Vista

    Open a new message window and: reviews | All the headers. Check it out.

  • How to send an email to the entire group

    Original title: sending a group e-mail

    I created a group in my contacts, but don't know how to send an email to the entire group.   When I type in the name of Group 5 of the 25 show upward.   I'm doing something wrong.

    You will need to provide much more information.  For example, what email program are you using?  Is it perhaps Windows Live Mail 2012?

  • How to send the email from the content server?

    How to send the email from the content server? Is this enough to configure the SMTP server with the content server oracle? I want to send a mail generated both system admin system and author of the content when a content is expired. Please suggest how to enable e-mail functionality. Please suggest how the mail will be sent both SYSADMIN and author.

    Thank you

    In particular, this can be achieved by configuring - see EnableExpirationNotifier

  • How to send an email to vma?

    Hello

    does anyone know how to send an email to vma?

    I can't find the "mail" command.

    Thank you

    Timm

    vMA is a nice light Linux OS, however, is that LINUX. You can easily install additional packages as an e-mail client, it is not included by default.

    I sent mail using the Net::SMTP Perl module and you can find many examples on the web or install your own email perferred client.

  • With lightning 3.3.1 TB 31.1.2, if you accept a meeting invitation does not pass, how to send an email to accept email again?

    I can't find anywhere to specify the e-mail address that uses lightning to send the email I agree. So I guess that it uses the default value specified in the server settings outgoing (SMTP) at the bottom of the account settings. Unfortunately, when I accept an invitation to a meeting, the default smtp server didn't work. Even if lightning (or Thunderbird?) says that email does not, fortunately marked lightning as a status meeting invitation: confirmed, response: I will be attending. And I have more buttons at the top of the email to accept this invitation.

    I've now changed the smtp server by default to one that works. How can I get Lightning to send another email 'accept '?

    Also, if I can tell which SMTP server to use when the confirmation of meetings of lightning, please let me know where.

    Thank you!

    You have the calendar list showing on the left margin of the calendar page?
    If this is the menu bar, select view-calendar-calendar list
    You must be in the calendar window when you do.
    If the list shows no, but check the option in the view menu, move your mouse over the left margin and watch the cursor change a arrow double header. When he left click, hold down and drag to the right to see the list.
    Now you can double-click different calendars in the list to open the dialog box change to this schedule.
    You can also double-click any event to open the edit event dialog box and move it to another calendar.

  • How to send an email with the link that has the user id?

    Hello everyone, I'm trying to send an email with the link that includes the user id. After users click the link, they should be able to see the form with their information that has been previously fulfilled. So my question is after I have send email how and what is the best way to get information and show it to the user. What should be separate page with the cfquery limited on the id user or something else? If anyone has an idea of what is the best way to do it please let me know. I already have my code who send e-mails.

    You save all the fields submitted initially to a database?  If so, run a query and then convert them to the form field, query values. I don't know what looks like your data (or database), but a simplified version might look like this.

    SELECT FirstName

    OF SavedFormTable

    WHERE ID =

  • How to send an email to multiple recipients and keep the list future emails?

    How can I send an email to multiple recipients and store the names of future emails?

    Are you using an e-mail application to send and receive your emails?

  • How to send an email to the project mobile flex for blackberry playbook?

    Hello friends,

    I developed a small application for playbook. I want to send an email, use adoble flash builder burrito, there is no built-in functions available to send emails in flex 4.5, it can be achieved throug php, cold fusion, or asp.net. I don't know how do it, can someone send me the example to send an email to the project mobile flex.

    Thank you...

    There is no native email client in "flex". PB is not currently an API to use any "native" or "bridged" or by e-mail. If you just want to open the current, the default e-mail client, you can use navigateToURL with 'mailto' as url, or you can send the information to your own server, which can in turn SMTP information. Otherwise, you will need to write your own.

  • How to send an email with a header/footer in the body of the email?

    I try to send an email with a PDF attachment but a need to have a static header and footer in the body of the email before sending it.  How this is done and it is possible to do? I am new to this and don't know how to start this.  Any help with this is greatly appreciated.  Thank you.

    You can put information in the body of the email, but you are limited on formatting. Here's a post from Stefan Cameron with example that I think will really help you.

    http://Forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/

  • How to send an email from folio with subj and text

    Hello!

    I have send an email to folion. I know how to do hypperlink but a necessity, not just subj and address. I need a text. Can someone explain how it is should be?

    Best regards

    You can make an object have a mailto link: hyperlink which included the object variables and body.

    It would look like this:

    mailto:[email protected]?subject=Subject-text-goes-here&body=Body-text-goes-here

    Fill the variables with your own text and do not forget to replace the spaces in your text of the object and the body with dashes of figure.

  • How to send an email to the owner in 6.1 creating the VM

    Y at - it an easy way to havevCACautomaticallysendanemailto of the applicant (owner) emailaddresss?

    Thank you

    -MattG

    There are several discussions on notifications by e-mail to vCAC. 2 options are to enable notification vCAC scenarios and setting of the outgoing e-mail server (can be found in the documentation vCAC) or vCO allows you to send an email when the machine is ready. Send a personalized Notification

    There is no real good answer right now. Hope this is resolved quickly.

Maybe you are looking for

  • support of macOS Sierra.app tool

    When you try to upgrade to Sierra I get a message from macOS sierra.app tries to add a new tool for assistance.  What is this support tool and is it safe?  I know that Java said something along the same line, and it is your browser hijacking.

  • Satellite Pro A40 - driver Windows 7 sound.

    Hi, IM running Win 7 beta on one of my laptops, which is be a satellite pro a40. Ive got everything right except the "multimedia Audio Controller" aka the soundchip and the display adapter, which doesn't really count that I can see the screen etc any

  • password type def

    Hi all I want to do a def type or type strict def (not sure that it would be) a password, so that is the password must be updated, I can just change the password in the type type def/strict def and the change will apply to all programs that use the c

  • How do I play pool yahoo on my computer

    applet does not load

  • I have URL: MRL virus and how can I get rid of it

    every time I try to get on yahoo my antivirus detects a virus URL: MRLS. I have internet explorer 8