CRM 2011 - Email Router and Multiple Contacts with Same Email address - dynamics-crm-2011

We use Email Router in our on premise CRM 2011 system. We have multiple contacts with the same email address and while that is a problem that we hope to fix as part of an upgrade, we have another issue here.
Let us assume I have more than one contact (Contact 1: John Reese and Contact 2: Not John Reese) with the same email address of John.Reese#gmail.com.
I now send an email from my email address which is Harrison.Ford#gmail.com to a particular queue's email address or user's email address. I add John.Reese#gmail.com in the CC field.
The email record gets created in CRM but if I open the Email record in CRM, I find that it has populated the CC field with LookUps to both Contact 1 and Contact 2. We do not want that to happen. We simply want the email record to have the CC field unresolved (i.e, just have the text John.Reese#gmail.com and not auto resolve it ALL contacts and organizations which have the email address).
I have tried identifying if there is a Plugin which does this and I am afraid I could not find any. :-(
Questions:
Is this the email router and associated rules which are doing this or is there a plugin lurking behind the scenes which is doing this?
If we were to send an email from the address John.Reese#gmail.com, it doesn't happen populate the From field with both the Contacts, instead it just leaves it as unresolved. So, where can I find the email router rules and replicate the functionality which is currently in place for the From field to the CC field as well?

All email addresses will be stored in EmailSearchBase table in CRM database for each record with email address + entity type & the email recipients will be resolved from here for each entry in this table like contact, lead, etc. This is what you are referring as rule.
This database table will have one record for dupe contacts also. You have to clean the data using duplicate detection & enforce detection rule. Merge the contacts will solve the issue too.
But you have to run update statements for these dupe records in Emailsearchbase also. Like updating John.Reese#gmail.com email id into John.Reese_2#gmail.com to keep the dupe contact (Not John Reese) but just avoiding him in email recipients list (auto resolving).
This is not documented or least documented, but you can explore & clean up this entity.

Related

How to send the shipping email to multiple customer in Netsuite

I created a saved search that will search the sales order of every each customer and email the shipment status to tracking email created in SO field.
But it can be only 1 email I input to the field.
How can I send the email to multiple tracking emails .
Thank you in advance.
If you are using a standard Saved Search that sends an email, you can edit this on the search itself. If they are static email addresses of a contact or a user in NetSuite (Specific Recipients), you can add them this way:
If you need to derive the users from the results, you can add them this way:
One no-code way would be to replace the transaction's email address with an alias that forwards to some list of email addresses. A bit hacky in that you have to maintain the forwarding addresses independently of the customer (unless you code that)
The methods in the answer by #GimmeDatPP should work if you have contacts. You'd have to supress the normal send email flag on the item fulfillments.
finally this can be done by scripting the process and pulling the email addresses from a custom list on the customer or transaction.

How to send email template multipe times to same list in Constant Contact?

I am running into an issue where I need to programmatically send the same email campaign to multiple people on a list that are the same via people(same email addresses) multiple times. Constant Contact is not letting me do this.
Example:
I want to use the same birthday campaign year after year and send it out once a year to everyone on my list. However according to the Constant Contact documentation I can only send the email campaign once too new email addresses.
Is there something in the API documentation that will let me do this?
So far all I have encountered is that I need to delete the email campaign, and recreate it using this API command: http://developer.constantcontact.com/docs/email-campaigns/email-campaigns-collection.html?method=POST
Thank you in advance.
Via the Constant Contact api's there is no way to send the same email campaign to the same contact multiple times.
However for the example that you have given there is an automation platform within Constant Contact that will automatically send out a birthday email, but at this time there is no way to programmatically set that up.
If you need to do it programmatically I would create a new campaign for each year, especially since deleting and recreating just creates a new campaign anyway.

Mail-in database

I have this scenario (this is an old story of mail-in)
This is a company where have many Domino Mail-in databases. One for every branch.
Every person in every branch has a personal Notes Email.
The company policy is that each person of the branch can not send email to an external account (internal yes), so I need to use the mail-in database.
I tried with the rules of Domino to perform a block (in the rule you can set the Sender field to track the mail), but it does not seem possible because unfortunately, when a user sends an email from a mail-in database (mail9.ntf template) the sender field is the username.
I know about Team Mail box project, but this is an old project and I have some problems with HTML outgoing mail and it doesn't work on the web.
I tried looking for a solution, customizing the standard Mail9.ntf template and I discovered that the library "CoreEmailClasses" with the function QuerySave method is executed Me.m_noteUIMemo.Send()
I have tried to change this code copying the backend document into mail.box the mail...but this doesn't work because it is more complicated (there are TMP field...and I observed that when you use .send() into mail.box the RichText is a MIME-RT) .
The only solution that I have found is to save the email and later with a scheduled Sign Agents to Run on Behalf Of the mail-in user that sends the email (solution that I do not like because is not in realtime).
Do you have any other ideas?
UPDATE FOR INOTES
I've found into the FORMS9_x.nsf the subform
Custom_MailMemoDictionary_Lite that contains this code. Now I need to understand how to use it
<NotesComment>
//Use s_MDNToFrom to change the From field in outgoing email. If
//s_MDNToFrom is set, need to also provide From field. Uncomment out the
//dictionary to enable this
</NotesComment>
<NotesComment>
<NotesDictionary>
<notesvar name=s_MDNToFrom value={"1"}>
<notesvar NAME=From value={"Custom From Field"}>
</NotesDictionary>
</NotesComment>
I am not sure if this will solve your problem but we have found that setting the Mail-in name (item name FullName) in the Mail-in Database document to a hierarchical name allows us to setup the owner of the mail-in database as that user. Then mail sent from that database is from the mail-in name sent by the actual user.
For example: use a name like: Branch1 Email/Organization and set the internet email to branch1.email#oraganization.com and then set the owner of the target database to Branch1 Email/Organization
Good luck!
deletes the contents of the subform and paste the following code
<NotesDictionary>
<notesvar name=s_MDNToFrom value={"1"}>
<notesvar NAME=From value={Principal}>
</NotesDictionary>
kind regards

Unable to send to unresolved email addresses although configured in settings

I want to send an email in a workflow from a hard coded email address and I have made sure that the option is set to allow this in system settings but I still cant get it work.
Have I missed another setting? Or does this option only allow unresolved emails in the "To" field?
I shouldnt have thought that would work from a hardcoded email address.
Crm doesnt send emails itself, it either uses the users outlook, or uses email router - both of which requrie a system user record.
In the case of the outlook it is really sent by the user, in the case of the email router it is generally sent from exchange.
Crm cant just pretend to be an email address.
The CRM usually takes 10-12 hours to send email to un-resolved email addresses after the setting has been turned on.
Maybe waiting helps

Jira, Component specific outgoing email address

I have some problem with the latest Jira (4.3.4). In this version you can set a specific outgoing email address in every project. That's a great feature. But I want to go even further and give every component a specific outgoing email address to. Why? Because we have our Support in one project and every different support customer has their own component representing them.
Every support customer have their own email address ex, support-customer#*.*. It is to this address we want them to email. But the Jira system as it works right now emails from a no-reply address. And a project specific address wouldn't do it either. Thats because we have a mailerdaemon which task is to modify the subject to JEMH (Jira Extentable Mail Handler) valid subjects. That mailerdaemon checks the To: address to add the right component.This works great and every issue gets their specific component.
Wanted scenario.
customer emails to address support-customer#*.*. Mailerdaemon picks the mail up and formats the subject. JEMH read the formatted email and creates the issue. Jira emails the customer that the issue is created using From: support-customer#*.*.
Same as commented and so on.
A potential approach would be to create a specific listener which sends a mail to the component lead.
An approach is using the script runner
Check out the example script to construct the email
https://studio.plugins.atlassian.com/wiki/display/GRV/Post+Functions#PostFunctions-SendEmailWhenBlockerReported
Logic to retrieve the component lead is straightforward. Getting the email address from the component lead also.
The listener would only act on 'my-create-event'. the my-create-event is included in the workflow create transition ...
Francis

Resources