With the BCC field email composer

Hello world

I had a problem with fill the Bcc field using enamel dial.

Application of InvokeRequest;

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

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

request.setMimeType("message/rfc822");

request.setUri ("mailto[email protected][email protected][email protected]");

InvokeManager manager (this);

Manager.Invoke (request);

The to and cc fields are filled correctly, but not of CCB, any idea why?

And if I send the e-mail. JIU never receive e-mail either, I test a few months ago and I was sure it was working properly, something has changed or is it me?

Thanks for any advice!

Hi, for those who love fill the options for BCC field with mail composer, here my explanation.

SetURI and setData all is not for me, they have worked well for to and CC option, but the ICC had never fill out properly!

Then I when an another wat, some code here online to help you to understand what I've done:

Start a Message

MessageBuilder * generator = MessageBuilder::create(defaultAccount.id());

Add a recipient

MessageContact recipient = MessageContact (-1, MessageContact::To, accountTo.displayName (), emaiTo);

generator of-> addRecipient(recipient, &added);)

MessageContact recipient = MessageContact (-1, MessageContact::Bcc, accountBcc.displayName (), emaiBcc);

generator of-> addRecipient(recipient, &added);)

Save the Message for the project

Message draftMessage = * manufacturer;

MessageService messageService;

MessageKey draftMessageId = messageService.save (defaultAccount.id (), draftMessage);

Now invoke request stuff...

Application of InvokeRequest;

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

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

request.setMimeType("message/rfc822");

QString str;

Str.sprintf ("pim:message/rfc822:%llu:%llu", defaultAccount.id (), draftMessageId);

QUrl url = QUrl (str);

request.setUri (url);

Create the handler

InvokeManager manager (this);

You can listen when cancel or Send has been use...

QObject::connect (Manager, Manager, SIGNAL (childCardDone (const bb::system:CardDoneMessage &)), this, SLOT (childCardDone (const bb::system:CardDoneMessage &)));)))

Manager.Invoke (request);

.

.

.

Using a machine slot, this function receive action triiged...

It's call when cancel option occurred, it can do well to return the email project, if a user, click on the Cancel button.

void ApplicationUI::childCardDone (const bb::system:CardDoneMessage &)

{

QString reason = done.reason ();

If (Reason.Compare ("Draft") == 0)

{

MessageService messageService;

messageService.remove (defaultAccount.id (), draftMessageId);

}

}

That's all!

Have fun!

Sylvain

Tags: BlackBerry Developers

Similar Questions

  • I can use the BCC field very well with the designation which is ensuivie of the "unknown recipient" about which I pass on to. How can I change this to 'friends & Kin '?

    On my old Outlook Express I could call 'Friends & Kin' for your "unknown recipient", but I can't find how to do this on Thunderbird. Does anyone have a suggestion? Thank you. CFB-

    If you have a domain control you, you could configure friends & Kin@yourdomain and use it as the address 'To', with the distribution list in the BCC field

  • Windows mail. When sending a new email, I want to use the BCC field, that I can not select because it is not on the new Message. __How make CCB to come when I create a new message? This something __Is I can add tools please?

    Windows mail. When sending a new email, I want to use the BCC field, that I can not select because it is not on the new Message.
    How can I get the future BCC when I create a new message?
    Can I add tools please?

    Thanks for the reply Bruce Hagen. I am very grateful.

    Dave.

    In a new message window: view | All the headers. Check it out. Or, simply click on the button to easily add to your contacts list to: To, CC, or BCC.

    Bruce Hagen ~ MS - MVP [Mail]

  • Using groups of Windows Mail contacts without displaying the FIELD email addresses; and without having to use the BCC field?

    I want to see all the names of everyone in the group in the TO field: only the names of individuals in the Contact Group and NOT to display their individual addresses alongside their names; and I don't want to use the BCC field (because it will appear all the names). Is this possible?

    Unless you have included their address in a part of the field name, the addresses must disappears from view when sending. That said, all they need do is click on transfer, reply to all, or view the message source and they see all the addresses. That's why the BCC option was created. Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • How to make appear the BCC in email, when you use the function of charms, hand

    I have sent a video about skydrive to friends but could not exercise the BCC field to send emails using the e-mail of charms, share.   Please don't tell me that it went unnoticed.  Thank you.

    Hey scottfactor,

    Unfortunately copy carbon (CC) and blind carbon copy (BCC) not currently being supported by the share to the mail scenario, you can use the Windows Mail application. If you have also installed the application SkyDrive, you can do the following:

    1. Start the Mail application
    2. Compose a new message
    3. Open the App bar
    4. Select attachments
    5. In the upper left corner of the file picker, select files
    6. Scroll and select SkyDrive

    Now you can select the video that you've uploaded to SkyDrive and share with your friends!

    -Chris

  • How to increase the number of addresses in the BCC field?

    How to increase the number of addresses in the BCC of email field?

    What do you mean by increase in the number of addresses?  The CCC line will continue to accept addresses that you add them in there. Keep just by typing in the addresses separated by a semi colon ";

  • I have copy of old tbird and seamonkey e-mail files with the files and emails for each. I need to add to new tbird install. can not find a way to do it. Help

    I have copy of old tbird and seamonkey e-mail files with the files and emails for each. I need to add to new tbird install. can not find a way to do it. HELP PLEASE. previous e-mail files are under mail then mail.earthlink* .net and each of the five mail .net is an email address I have. I can't find a way to identify each file by email to the specific email address (IE mail.my E-mail name.net) so I can copy the files and emails from the past to the email addresses now under tbird. previous installed e-mail identities may not be the current configuration of e-mail files in tbird. I think that I must be sure that mail.name.net matches the previous mail.name.net to be able to copy and paste the old to the new. is there a way to find the file name correct the old email and correspond to the new? all my emails very important information are mostly in the old mail electronic id and must be available in the identification of email again (but same) how can I do this?

    http://KB.mozillazine.org/Importing_folders

    Use this module.

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

  • Problem with the form field.

    well don't know what to do with it. First of all, I removed all the contacts on the site of BC. So, right now, there is no customer in the CRM.

    But when I go to create a web form under the TITLE instead of having simply Mr., Mrs., etc... I have a complete list of email addresses. I can clean manually if I paste the code of the form on the page but don't want to do that every time. Any ideas as to where this source is shooting?

    webform sample.jpg

    Go to the CRM, go to a client or to go make one.

    Click on the square next to the title field - this allows you to create/edit and delete entries.

    In terms of how it happened - when you have imported you imported the names in the wrong column and was in the title column.

  • I can't change my list of JIU, as only 3 addresses appear in the BCC field

    When I look at the BCC list in draft mode, there is an address that I have not entered, and I don't know the person whose address is, but I could not find a way to remove the address, because when I go into edit mode, only the last three addresses I entered are visible on three separate Bcc lines.

    In addition, in mode draft, I see that a number of addresses appears twice, because, at the time, I was entering them, I needed to save the work and click the sign-. But when I opened it the first time, because I saw that the first three addresses, I have assumed that I had lost the others, so started coming again. Now I need to delete duplicate addresses, but even once, find no way to do it, because once I'm in don't change only three mode addresses may appear.

    Please can you help me?
    Thank you
    Retro

    There is generally enough visible space 3-(Cc/BCC) fields as the automatic display.

    When there are multiple e-mail addresses can be established, a scroll bar should appear on the right side.

    However, by dragging the bar down reveals more.
    Place the cursor on the line and the cursor should change to a double arrow head.
    Left click and hold down the key to grab the line, and then drag.
    See the images below.

  • I have a problem with the receipt of emails from Mozilla to a different address but not my only recorded

    I signed to & & checked my email address but still get the emails sent to [email protected] not to [email protected] that has been verified in my profile.

    Hi andy,.
    Fix. After the cancellation of a subscription, signing up with the correct e-mail will solve the problem.

  • Changed password icloud in OSX Capitan, using 'Forgot password?'. Now can't login to iCloud with the new password (email confirmation of delivery to zero Apple receipt)

    I changed my password to iCloud by using the procedure in "Forgotten password?". Received an email from Apple confirming the change. Now OS x Capitan asking for me to enter new password but does not recognize the new password. Same thing happened to me twice. Any idea of procedure to solve that not not found answer with the research on the web.

    Have you tried to exit by using the old password and signing in?

    What to do after changing Apple ID or password - email address

  • problem with the vertical field Manager

    Hello

    My application has a screen. On this, I add a Senior Manager vertical field. I add new labelfields dynamically to this vertical field Manager.  When I give the text in the constuctor of the etiquette field, each of them is the fine display. But when I tried to draw the text to the painting, it does not appear.

    Here is my code...

    vfm = new VerticalFieldManager(VERTICAL_SCROLL | FOCUSABLE);
            for (int i = 0; i < 4; i++) {
                index = i;
                LabelField labelField = new LabelField() {
                    protected void paint(Graphics graphics) {
                        // TODO Auto-generated method stub
    //                  super.paint(graphics);
                        graphics.setColor(Color.BLACK);
                        graphics.drawText(displayString[index], 0, 0);
                    }
                };
                vfm.add(labelField);
            }
            add(vfm);
    

    Please help me find a solution.

    First of all, stop saying that it is VerticalFieldManager who has done something bad for you. It has nothing to do with it.

    You use the index in your LabelField painting method. Use paint value is the current value of the index at the time of the painting. Painting happens way after you have created all your LabelFields, when the index stopped to change and has the last value of the loop variable (in your case, it's 3).

    This, as well as LabelFields width zero (that you seem to have supported) so are the problems of your original code. Store the value of i in your LabelField somehow if you insist on using the table values. If only check out you them once and do not change them, consider creating your LabelFields with the text from this displayString table.

    Even better: as you do not use the LabelField paint, why not create a custom field received a text and paint your smileys and all? Of course, you have to implement available as well, but it's useful even when your smileys will take a different width than the corresponding symbols.

    To summarize: your current approach is bad. Take a step back, work on the design, and then implement.

  • problem with the custom field. Please help!

    Hi, I'm basiceditfield using code below, to draw the border and background in 4.5 jde. I hv tried a lot of things to set his height.but his does not work for all value.even I put height 100, it does not display the bottom line of the field

    Basic BasicEditField = new BasicEditField("","",15,1) {}

    g.setColor (14315734);
    g.setColor (Color.PERU);
    g.fillRoundRect (0,0,30,30,0,0);
                  
    g.setColor (Color.BLACK);
    g.setFont (Helper.getFont(6,"",false));
    g.drawText ("", 3, 3);
    g.setColor (Color.MAGENTA);
    g.drawRoundRect (20,30, 0, 0, 0, 0);

    Super.Paint (g);
    }
    };

    Mr.Peter,

    I tried already and surfing on the internet, my problem is something different and so I started a new thread, because I couldn't find the solution. Tried several codes that are on the forum, but with the same result, that's y I posted my code here.

  • FlowFieldManager not 'compatible' with the text fields?

    Hi all.

    I'm making an icon to follow the end of a given text. A bit like the phoneLog done with the green phone icon next any number that you enter.

    I tried the substitution of the DrawText, but unfortunately after conditioning to the new line I don't have an X coordinated to begin to draw.

    That's what I would like to:

    +-----------++-----+

    | text 1234 | icon |

    +-----------++-----+

    After entering the text more:

    +--------------------++-----+

    | text 1234567890 | icon |

    +--------------------++-----+

    Unfortunately FlowFieldManager encapsulates the new line icon

    It seems that she's done this before and after each text field. If I have two icons, one after the other, they have a format horizontal, but at the moment where I have to add a textField, it is wrapped in a new line (are complemented by the icons) or icons are pushed to the next line (if the text box before the icons).

    So, how can I add this icon to track the length of the text?

    The problem here is that text fields normally tell their manager encompassing that they want to take the entire width.  FlowFieldManager who will respect and give them the entire width.

    You will need to customize the text field, replace the functions of layout and width and make sure he asks only the size that he actually need.

    If the text cannot be updated, and then you try to use rather than RichTextField LabelField.  LabelField asks only the width he needed.

    Sorry I can't give you any appropriate code because I have never done this.  I did not because from a user interface point of view I don't think it looks good.

    This mechanism can fail when the text field resumed more size on a width - fields are always "rectangular".

  • Problems with the NVARCHAR2 fields

    I use ROracle to query a database with a field of type NVARCHAR2. When I access the database directly or through RJDBC, I have no problem with that. However, if I do something like

    res = dbSendQuery(conn, qry)
    dbColumnInfo(res)
    
    
    

    He told me that the 'type' is VARCHAR2. So when I use fetch (res), it's not back up the data correctly (it gives? instead). Is there anyway so that it can detect the NVARCHAR fields, properly or even manually it say when a field must be NVARCHAR?

    Edit: Try explicitly casting in my query (e.g. qry = "select cast (textfield you mvarchar2 (100)) from myTable ') and which did not help.

    Edit2: It turns out that this problem persists even with fields containing unicode VARCHAR2.

    Post edited by: 88dc10cb-b8b0-44c7-acff-5d6dc55a69dc

    I had to exportNLS_LANG=AMERICAN_AMERICA.AL32UTF8 and then load the package

    Sys.setenv(NLS_LANG = 'AMERICAN_AMERICA. AL32UTF8")

    library(ROracle)

Maybe you are looking for