Lotus notes: Create a view with selected senders/receivers - email

I would like to create a view in Lotus Notes that displays only the emails sent and received from a select email recipients.
I tried this solutions but it's not working:
https://superuser.com/questions/917406/lotus-notes-client-how-to-create-an-inbox-view-of-only-selected-senders
I also tried creating a view with search formula by adding the following on the search box when creating the view "gmail.com" no quotation marks, but the view just shows all emails even those that don't have anything to do with the domain name gmail.com

Related

How to show related email on popup composeMailData - Vtiger

I have a custom module, in this module there is a field related to the account, then I create an email send button on the detail page, how can when the compose mail popup is displayed, the email of this account is added automatically.
EditView
DetailView (compose mail popup)
You need to put that logic in your view controller. Take vtigercrm/modules/Vtiger/views/ComposeEmail.php as an example and create vtigercrm/modules/YourCustomModule/views/ComposeEmail.php
You need to do something similar to this when processing the request:
$accountId = $request->get('accountid');
$account = Vtiger_Record_Model::getInstanceById($accountId);
$viewer = $this->getViewer($request);
$viewer->assign('TO', $account->get('email'));

Adding attachment to Outlook email with VSTO

I'm trying to develop a custom attach file button that will show on the ribbon of a new, blank email. ( I would like to insert the button in the highlighted section)
This article from MSDN shows how to attach a file and create the email, which is useful but not exactly what I'm after. Is there any documentation on adding attachments to emails which are already open?
Application.ActiveInspector.CurrentItem.Attachments.Add
I was in the OfficeRibbon context so I ended up using the following code:
var item = this.Context as Outlook.Inspector;
var mailItem = item.CurrentItem as Outlook.MailItem;
mailItem.Attachments.Add(attachment.Location, Outlook.OlAttachmentType.olByValue, 1, attachment.FileName);

How do I view my gmail chat/hangout history inside Mutt?

Mutt will not allow me to move to the "Chats" folder, although it is clearly visible when viewed with a web browser. The folder is simply not displayed in Mutt.
I am able to see all my chat history by using the search query "label:chat", so I thought if I create a filter to match these items, and assign them a label - maybe Mutt will see this new label.
Alas, Mutt sees the new label, but displays no items.
How do I view my chat/hangout history inside Mutt?
IMAP is disabled by default for the Chats label in Gmail.
You can enable it in the settings under the labels tab, by selecting "Show in IMAP".
Settings (top-right) --> Labels --> Chats --> [X] Show in IMAP
Or follow this link: https://mail.google.com/mail/u/0/#settings/labels

Only display/use the "To: " field from MFMailComposeViewController

In my app I have the need to allow the user to assemble a "To list" of emails. The built in mail composer has exactly what I want as far as being able to select contacts. It has a drop list that displays potential matched contacts from what you are typing. However this is not for sending an email, therefor I dont' want the CC, Subject, and Body controls.
Is just the "To" field available in a control somehow? I don't see really how to do this without writing quite a bit of code.
I suppose I could always bring up a mail composer and then another view to cover up the rest of the form, but I'd rather leverage just the To field.
Is this possible?
Maybe this will help someone else. After much searching I didn't see any way to leverage the To: field only. I ended up coding my own set of view controllers to copy the actions and behavior. I made the following classes:
Contact (string properties for first name, last name, and email)
Contacts (class methods to create an NSArray of Contact objects in various formats)
ContactFormViewController (analog to the mail composer's To: field)
ContactTableViewController (displays a list of all contacts with a scrubber)
Inside Contacts class, I used ABAddressBookRequestAccessWithCompletion to create an NSArray of Contact* objects, sorting the array as I construct it.
I then have two view controllers, just like the mail composer.
On the first view controller, there is a UITextField to type an email address or name into, a UITableView to display contacts that match the input string, and a UIScrollView which I add UIButtons to each time a contact is selected in the table. Each editingChanged event on the UITextView creates/updates the datasource to the UITableView. There are also two more UIButtons. One to add a manually typed email address to the list selected contacts (this button is only visible if the text input matches an emiail regex), and the other button is to show the UITableViewController if the user would rather browser to contacts than type them in and pick results.

MFMailComposeViewController and cancelling "save" action sheet?

i am using MFMailComposeViewController inside my iphone app. I notice that if i enter any text in the body and then press the cancel button, i am prompted with an action sheet with an option to save/don't save the unsent message. I have two questions:
can I programmatically prevent the "save/don't save action sheet from appearing? MFMailComposeViewControllerDelegate doesn't appear to have anything along those lines
if i do save, where is the mail saved to? i looked in my mail accounts and didn't see anything saved in any of the "draft" folders.
No, you can't avoid the action sheet appearing. It's been added in iOS 4.x to, precisely, avoid tapping on the "Cancel" button inadvertently when writing a long email, which I think it's a good idea.
It is saved in "Drafts" folder of the account used to compose the e-mail (normally, your "default account" as it is registered in the Settings of your device). I've just tried using a couple of apps and it works.