login about faq

Hello, is it possible to get the binary of the Email Object? I want to save this in my Database before sending the mail.

Or what would help me, too.

After i do this: "email.SendSigned = true; email.SetSigningCert(cert);" Why i cant see the sig in the mime (email.GetMime())?

Tank you!

asked Nov 10 at 08:37

Chilkatuser's gravatar image

Chilkatuser
31

edited Nov 10 at 08:52


Use the MailMan.RenderToMime.

A call to mailman.SendEmail is logically composed of RenderToMime followed by SendMime. The RenderToMime method applies any signatures and/or encryption to the MIME at the time of sending.

If you don't want to do the signing twice, you could change your program to call RenderToMime, save the MIME to the database, and then call SendMime.

link

answered Nov 10 at 09:27

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×184
×10

Asked: Nov 10 at 08:37

Seen: 107 times

Last updated: Nov 10 at 09:27

powered by OSQA