Developer forum

Forum » CMS - Standard features » DKIM for Dynamicweb

DKIM for Dynamicweb

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Hi

we have solutions sending emails as a result of forms, extranet and ecommerce setups. If we want to configure DKIM for these soltutions, how would we do this?

/Hans


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Dynamicweb does not support DKIM as .net framework does not support it.

You can however create custom implementation adding the proper signing to the message using extensibility.

Option 1 - sign the mailmessage

Create a notification subscriber using EmailNotifications.OnBeforeEmailSend - the args passed has the emailmessage being send as a property. Sign the message using a library like

EmailNotifications.OnBeforeEmailSendhttp://EmailNotifications.OnBeforeEmailSend

Option 2 - use another SMTP API to send emails

Create a notification subscriber using EmailNotifications.OnBeforeEmailSend - the args passed has the emailmessage being send as a property. Send out the email using a library like https://github.com/jstedfast/MailKit and then set the .Handled property of the notification args to true - then Dynamicweb will not send the email.

BR Nicolai

 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Thank you Nicolai

Ok, so there is no way around custom solution? Would something like using sendgrid solve this without custom?

/Hans

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Sendgrid supports DKIM: https://docs.sendgrid.com/glossary/dkim

 
Adrian Juell
Reply

hi 

following up on this. DW is mentioning Mailchimp (similar to sendgrid) on their webpages , but there is no extension available in the library.

How do we go about integrating Sendgrid / Mailchimp to DW9? 

Thanks.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply
This post has been marked as an answer

Hi Adrian,

Sendgrid and Mandrill (Mailchimp bulk email engine) are used for Email marketing campaigns. You can set up the provider in the Settings/Marketing/EmailMarketing/DeliveryProviders.

You can choose between Mandrill and Sendgrid.

By default, you should have the Dynamicweb Send Provider defined.

Adrian

 

Votes for this answer: 1
 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Adrians!

You can also use Mailchimp for transactional emails by using your SMTP service from mailchimp in Dynamicweb.

See more here: https://mailchimp.com/developer/transactional/docs/smtp-integration/

In Dynamicweb you can configure the SMTP settings for transactional emails using the SMTP settings of your mailchimp. https://doc.dynamicweb.com/documentation-9/platform/advanced-settings/web-and-http#sideNavTitle1-6

 

You must be logged in to post in the forum