"No Code" method to add to parameter to Email Message Header?

Hi.  

I am following up on a thread I posted earlier which seems to have withered -- I am looking for an alternate path.    (Link to original thread is below)

Is there a "No Code" way to add to the email headers that Creatio generates? 

I know there is a way to code the email, but we have so many processes that send out emails, I will have to hire a developer to do this.   (Code is included below for reference, you can see there the header I need to add to the outbound emails)

If we could add "X-Auto-Response-Suppress: All" to the header, we would eliminate most if not all "out of office" responses we get back.

Thanks
Rob

var message = new Terrasoft.Mail.Sender.EmailMessage
{
	// Sender email address.
	From = "Sender@email.com",
	// Recipient email addresses.
	To = new List<string>{ "first@recepient.co", "second@recepient.co" },
	// Copy optional
	Cc = new List<string>{ "first@recepient.co", "second@recepient.co" },
	// Hidden copy optional
	Bcc = new List<string>{ "first@recepient.co", "second@recepient.co" },
	Subject = "Message subject",
	// Email body.
	Body = "Body",
	// Priority, Terrasoft.Mail.Sender.EmailPriority enumeration values.
	Priority = Terrasoft.Mail.Sender.EmailPriority.Normal,
	// Headers you want to add to your email
	HeaderProperties = new List<Mail.Sender.EmailMessageHeader>
	{
		new Mail.Sender.EmailMessageHeader
		{
			Name = "X-Auto-Response-Suppress",
			Value = "All"
		}
	}
};

https://community.creatio.com/questions/add-email-header-x-auto-response-suppress-all

Like 0

Like

2 comments
Best reply

If you used the code approach, you could make a generic process you'd use as a subprocess. Any process that needed to send email could use that one process. However, you'd lose the ability for an easy designer for composing the email in the process and would have to send HTML to the subprocess to use as the body (not an issue with the subprocess route specifically, but an issue with using code to send the email). 

If it worked for you, you could create the emails themselves as message templates. The subprocess would need to process that template as well to generate the body. At leas that way you could use an easy designer to create the messages instead of just forming the HTML.

Ryan

Does not appear to be possible without code. The send email process element doesn't expose any properties for the header. 

If you used the code approach, you could make a generic process you'd use as a subprocess. Any process that needed to send email could use that one process. However, you'd lose the ability for an easy designer for composing the email in the process and would have to send HTML to the subprocess to use as the body (not an issue with the subprocess route specifically, but an issue with using code to send the email). 

If it worked for you, you could create the emails themselves as message templates. The subprocess would need to process that template as well to generate the body. At leas that way you could use an easy designer to create the messages instead of just forming the HTML.

Ryan

Show all comments