Skip to main content

Notifications

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

  • webbear Profile Picture
    55 on at
    Re: CRM 4.0 avoid e-mail to/cc/bcc field format control

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

    br. webbear

  • Frank Hermes Profile Picture
    on at
    Re: CRM 4.0 avoid e-mail to/cc/bcc field format control

    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
    Re: CRM 4.0 avoid e-mail to/cc/bcc field format control

    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
    Re: CRM 4.0 avoid e-mail to/cc/bcc field format control

    Do you want to send this emails via mail merge?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans