PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, November 9, 2022

[FIXED] How to send email with DKIM to BCC using Chilkat using C# .Net

 November 09, 2022     bcc, chilkat, dkim     No comments   

Issue

My question is about sending bcc with dkim using chilkat. I have suceesfully sending emails for past several years using Chilkat. I came across a new requirement where i need to BCC sent emails. Previously, I was using I am adding bcc like

email.AddBcc("name","bcctest@bcc.com");

Chilkat.Dkim dkim = new Chilkat.Dkim();
Chilkat.MailMan mailman = new Chilkat.MailMan();
Chilkat.Email email = new Chilkat.Email();
mailman.SendMimeBytes(email.BounceAddress, email.GetToAddr(0), dkimSignedMime); 

I am using SendMimeBytes to send emails. dkimSignedMime contains the cert info and email object mime. Using this same method I am unable to send BCC. I tried

mailman.SendEmail(email); 

It sends out email but it goes to Junk.

I assign BCC property of email to the relevant email address before converting to mime. But this does not work as expected as BCC info is removed from mime. Is there a way i can achieve this functionality keeping the integrity intact?

Thanks for your help.


Solution

Here is an example that shows how to send DKIM signed email, and also explains how to add BCC email addresses.

https://www.example-code.com/csharp/dkim_send_email.asp



Answered By - Chilkat Software
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing