web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 4.0 avoid e-mail to/cc/bcc field format control

(0) ShareShare
ReportReport
Posted on by 55

Problem; I need to avoid the "correct e-mail format" for the ex Bcc field, what i need is the CRM e-mail form to accept ex: Firm@Contact@1234567 type of address so it can be delivered to outlook that already have integrated support for this "email type" through a add'in from 3.party Fax solution. br. webbear

*This post is locked for comments

I have the same question (0)
  • Frank Hermes Profile Picture
    on at

    Do you want to send this emails via mail merge?

  • webbear Profile Picture
    55 on at

    thanks for respons.

    No, was thinking about the "Send Email" (send a email regarding this contact) you have when you open up a contact. In this form there are To, cc and Bcc field, all Partylist /lookups, what i would like is to put in  "my custom email  test@test@123456" in the Bcc field.

    But if it is easyer to modify the mail merge to also send to a test@test@123456 email i would be more than happy to know how :)

     br. webbear

  • Frank Hermes Profile Picture
    on at

    You could write a custom workflow activity or plugin that gets fired on the send message of an email (Image has to be configured as "post"with the name "postImage" in this case).

    The code for the plugin, that sends and email to the fax account with same subject and body, could look like this:

    if (context.PrimaryEntityName == EntityName.email.ToString() && context.PostEntityImages.Contains("postImage"))
    {

    System.Net.Mail.MailMessage faxmail = new System.Net.Mail.MailMessage();

    System.Net.Mail.MailAddressCollection faxes = new System.Net.Mail.MailAddressCollection();

    faxes.Add(new System.Net.Mail.MailAddress("test@test@123456", "FAX"));

    faxmail.To = new System.Net.Mail.MailAddressCollection().Add(faxes);

    DynamicEntity email = (DynamicEntity)context.PostEntityImages["postImage"];

    faxmail.Body = ((String)email.Properties["description"]);

    faxmail.Subject = ((String)email.Properties["subject"]);

    System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient("mail");

    client.Send(faxmail);

    }

    Will this fit your needs?

  • webbear Profile Picture
    55 on at

    Nice, Thanks!,
    Think this could do the trick, ill try to make the custom workflow activity.

    br. webbear

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans