login about faq

In the update of ActiveX and .NET components after version 5.9.47 to 5.9.48 until most recent, the BCC is no longer saved in XML or EML (In previous versions of EML, BCC do not work also) when saved to disk.
It happens to the AddBcc and AddMultipleBcc methods.

Code

Chilkat.Email email = new Chilkat.Email();
email.AddTo("Chilkat Support", "support@chilkatsoft.com");
email.AddCC("Person 4", "person4@chilkatsoft.com");
email.AddMultipleBcc("", "person7@chilkatsoft.com");
email.Body = "this is a test";
email.SaveXml(@"c:\temp\email.xml");
email.SaveEml(@"c:\temp\email.eml");

9.5.47 – XML

<?xml version="1.0" encoding="utf-8" ?> 
<mime_message> 
<header> 
<mime-version>1.0</mime-version> 
<date>Thu, 05 Nov 2015 09:41:33 -0200</date> 
<message-id> &lt;5974D4C6A6AA28BE40ACFB7A5F86B9B70A76F5B7@ES051&gt; 
</message-id> 
<content-type format="flowed"> 
text/plain 
</content-type> 
<content-transfer-encoding>7bit</content-transfer-encoding> 
<x-priority>3 (Normal)</x-priority> 
<to> 
<address> 
    <addr>support@chilkatsoft.com</addr> 
    <name>Chilkat Support
</name> 
</address> 
</to> 
<cc> 
<address> 
    <addr>person4@chilkatsoft.com</addr> 
    <name>Person 4</name> 
</address> 
</cc> 
<subject>this is a test</subject> 
<bcc> 
<address> 
    <addr>person7@chilkatsoft.com</addr> 
    <name/> 
</address> 
</bcc>
</header> 
<body> this is a test
</body> 
</mime_message>

9.5.47 – EML

MIME-Version: 1.0
Date: Thu, 05 Nov 2015 09:41:33 -0200
Message-ID: <5974D4C6A6AA28BE40ACFB7A5F86B9B70A76F5B7@ES051>
Content-Type: text/plain; format=flowed
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
To: Chilkat Support support@chilkatsoft.com
Cc: Person 4 person4@chilkatsoft.com
Subject: this is a test

this is a test

9.5.48 – XML

<?xml version="1.0" encoding="utf-8" ?> 
<mime_message> 
    <header> 
        <mime-version>1.0</mime-version> 
        <date>Thu, 05 Nov 2015 08:59:43 -0200</date> 
        <message-id>&lt;88BF3CA0AD3311CC8C7DAA3A7B2E930D0C363A48@ES051&gt;</message-id> 
        <content-type format="flowed">text/plain</content-type> 
        <content-transfer-encoding>7bit</content-transfer-encoding> 
        <x-priority>3 (Normal)</x-priority> 
        <to> 
            <address> 
                <addr>support@chilkatsoft.com</addr> 
                <name>Chilkat Support</name> 
            </address> 
        </to> 
        <cc> 
            <address> 
                <addr>person4@chilkatsoft.com</addr> 
                <name>Person 4</name> 
            </address> 
        </cc> 
        <subject>this is a test</subject> 
    </header> 
    <body><![CDATA[this is a test]]></body> 
</mime_message>

9.5.48 – EML

MIME-Version: 1.0
Date: Thu, 05 Nov 2015 08:59:43 -0200
Message-ID: <88BF3CA0AD3311CC8C7DAA3A7B2E930D0C363A48@ES051>
Content-Type: text/plain; format=flowed
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
To: "Chilkat Support" support@chilkatsoft.com
Cc: "Person 4" person4@chilkatsoft.com
Subject: this is a test

this is a test

asked Nov 05 '15 at 07:24

Clayton's gravatar image

Clayton
31


This new ActiveX build should fix it:

32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-x64.zip

If you need .NET, I would need to know the .NET Framework.

link

answered Nov 05 '15 at 10:40

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Thanks, I'll have a look.

link

answered Nov 05 '15 at 07:52

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

OK. For information, simulated this behavior with the ActiveX and .NET versions;

(Nov 05 '15 at 08:30) Clayton

It worked, the saveXML method, I use this method currently. But SaveEML method has not written the BCC in the file. The my .NET version is 4.0, but is not critical and I'm using nuget in this project. Is there any date for final release?

link

answered Nov 05 '15 at 11:27

Clayton's gravatar image

Clayton
31

You used: email.AddMultipleBcc("", "person7@chilkatsoft.com"); implying that you think the first element is the name and the 2nd the address.

But, afaik, AddMultipleBcc() doesn't work that way.
The input to this functions is a comma separated list of FULL email addresses. So the first "" might have caused the function to choke.

link

answered Nov 08 '15 at 10:09

ixm7's gravatar image

ixm7
632210

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
×6
×2

Asked: Nov 05 '15 at 07:24

Seen: 627 times

Last updated: Nov 08 '15 at 10:09

powered by OSQA