Choosing to which email address (within same contact) an email goes to - lotus-notes

All,
This might sound like a very simple question but I am new to Lotus Notes 8 and nobody around me seems to know an answer to it.
As most people, I keep multiple email addresses per contact (ie.: their work and personal email). (example: john.doe#company.com and john.doe#gmail.com; both these email addresses under "John Doe" contact).
When I go to send an email to "John Doe" Lotus Notes 8 just displays "John Doe" on the "To:" field without informing me as to which of both email addresses is the email going to go to.
Does anyone know how I can show / choose which email address is the email going to be send to?
Thanks in advance
m

Rich is correct, this is for programming issues but I found the solution, though I am not sure when they introduced it.
This answer may only be valid in Notes 8.5 or later. I use 8.5.3 UP1.
While you are doing type ahead, the contacts name appears below the send to field. If there are multiple addresses the primary one is displayed and a "twisty" is shown at the right side. Mousing over the name expands the twisty to show and allow selection of alternate emails. Here is a sample (with my spouse's email redacted.:-) )
Enjoy.
/Newbs

Related

How do search for multiple email address

I am logging into gmail via python and deleting emails. However when I do a search for two emails I get no results to delete.
mail.select('Inbox')
result,data = mail.uid('search',None '(FROM target.com)')
The above works and will find and delete any email that had target.com in the from address. However when I send in another email address I get nothing.
result,data = mail.uid('search',None '(FROM "target.com" FROM "walmart.com")')
Yes I have both target.com and walmart.com emails in my inbox.
Gmail search is exactly like Searching in the gmail website. If you open that and click the arrow down buttom in the search field you can test things.
That being said searching on more then one address is not going to work as its going to look for emails that are by both people. Not all emails containing one or the other.
The following will look for mails that both come from tom and jon. probably not possible as you cant have two senders
from:(tom#gmail.com,jon#comcast.net)
where as will return all mails that come from gmail.com
from:(gmail.com)
will only return mails sent from gmail.com and comcast.net which inst possible
from:(tom#gmail.com,comcast.net)
your going to have to make two requests.
You can search set this type of filter:
from:(demo#gmail.com OR demo1#yahoo.com)

Kentico 11 - Macro's not working in Marketing Emails

I have just started to use Kentico, so far everything has been straight-forward however I cannot get certain Macro's to work in Marketing Emails (to insert personalized information in the email such as their country).
Here is a quick overview of my automation process
Person submits a form on the website
Form field information gets mapped to the contact
Automation process begins
Internal/Transactional email sent which contains the requesters information (Macro's work)
Marketing email sent to requester, containing relevant information (Only basic Macro's work (for example recipient.firstname))
The issue is that the Macro's that are used (and working) in the internal transactional email do not appear to work in the marketing emails section, for example: {% OnlineMarketingContext.CurrentContact.ContactCountry #%} would copy in the requesters Country in the transactional/internal email, but it remains blank in marketing emails (Note: I have tested this fully, not as a draft email as I've read that the information doesn't get passed in a draft email).
I have tried using different objects (ContactManagementContext, etc.), however nothing appears to bring in personalized information.
Is there something I need to do to get the Macro's working within the Marketing Emails section? I have read through the docs online and I can't find anything to make this work.
Any help would be greatly appreciated.
The newsletter email macros are based off the subscriber not the contact. If you want to use the contact info, you will have to find a way to relate the subscriber to the contact.
This video shows how to see what macros are available.
Zach is correct. Normally, you would lookup the Contact based on the email address of the Recipient, e.g. {%GlobalObjects.Contacts.Where("ContactEmail = '"+Recipient.Email+"'").TopN(1).FirstItem%}. However, there is a hidden object you can use in marketing emails: {%Advanced.ContactInfo%}

How to extract the url from an embedded link in an email

I've got an email processing agent. It copies the body of the email into a document's rich text field. If there are any embedded links in the email I want to process that embedded link and extract the url. I started playing around with MIMEEntity but nothing came of it. Any ideas?
thanks
clem
================
Hi Rich,
Well here's a more robust explanation of what's going on. I have several Notes apps which deal with email correspondence. An email comes in, a Notes document is created with some meta data (system generated ID, user's email, name, company, status, etc). The email body is added to a 'correspondence' rich text field of the created Notes doc. The app allows for someone on our side to follow up on the email (ask a question, provide some feedback, etc). That response from us is pre-pended to the original email. If the original sender responds with some further information, THAT email is also pre-pended. To do this pre-pending, I do
bodyText = EmailDoc.GetFirstItem("Body").text
textFromNotesDoc = CTdoc.GetFirstItem("Issue").text
newTextFromNotesDoc = bodyText + <some stuff> + textFromNotesDoc
I then do a replace.
This worked perfectly fine for years. However, recently users have been sending in emails containing embedded links. Of course anything like that is lost when I do the NotesDocument.GetFirstItem().Text. So I've been trying to think of a way to capture the embedded link. The other day it occurred to me that if I could read the html, I could find and extract the url and simply add it to text. I thought maybe using NotesMIMEEntity would allow me to read through the body field and find the url but that's not working.
Clem
The solution is to NOT NotesDocument.GetFirstItem().Text. Just simply take the email coming in and prepend the body field to the discussion RT field. I add tags to the email going out so that I know if the person responding included the previous conversation. That took a little work to figure out but by using NotesRichTextNavigator and related classes, I'm able to deal with that.
clem

Create a view from Lotus Notes mail search

I can create a search in Lotus Notes Mail like this:
(![From] CONTAINS (/DOLPHINGEO))
and I get all the mails that are not internal.
Can I make this into a View?
Thanks
Liam
Yes, create a view with following selection formula:
SELECT Form = "Memo" & !#Contains(From; "/DOLPHINGEO")
You might need to add other conditions in additions depending on what you want to see in your view.
This is still not quite correct. You're likely to have mail that should appear in the view, but which is not on the Memo form (it might be on a Reply or calendar entry form, for instance). Also, chances are you have some mail from people in your company, that was delivered by internet rather than Notes mail, and might not contain the exact string "DOLPHINGEO", uppercase.

How do I search by "sender" or "from" in my Inbox

I get tons of email (> 1 per minute) and often I know "who" sent me the email but not when so when I want to find an email I have to "sort" my entire Inbox by sender and then start scrolling through the emails from that person. In the "form" search there is the ability to search by field but I cannot find the right field/parameters to search. For instance here is an example of the following fields:
DisplayFrom is "CN=John Doe/O=ACME"
DisplaySent is "CN=John Doe/O=ACME"
From is "CN=John Doe/O=ACME"
INetFrom is "John_Doe#acme.com"
So if I select any of these fields in the "Search in View" area of the Inbox and enter "field DisplayFrom contains Doe" it does not match anything.
Anyone have any ideas on how to do this with Sender/From. It seems to work with Subject but that's not a common use case for me.
Yes, sorry should have posted Lotus Notes version ... Release 8.5.3 on Linux 32 (but I've tested it on Win32 as well and fails there too).
field From contains SenderName works for me and returns results (using a real name instead of SenderName, of course):
You can create a view based on All Documents that is categorized on sender. Perhaps this can make it easier for you to find your emails from a specific person.

Resources