login about faq

I have an issue with hMailServer which seems to be the same with all versions of Chilkat mail component and it's driving me crazy.

I run Chilkat.StringArray uidls = mailman.GetUidls(); after unlocking the component successfully. Here is the output log of last error text. You can see there are 5 messages with a int counter for the actual mail and uidl. Environment is VS2013 on Win7 x86

ChilkatLog: GetUidls: DllDate: Jun 10 2014 ChilkatVersion: 9.5.0.40 UnlockPrefix: 1xxxxxxxxxxx Username: :Steve Architecture: Little Endian; 32-bit Language: .NET 4.5 VerboseLogging: 0 PopCmdSent: UIDL PopCmdResp: +OK 5 messages (513128 octets) PopCmdResp: 1 16 2 17 3 18 4 19 5 20 . UidlCount: 5 Success. --GetUidls --ChilkatLog

When I then call string uidl = uidls.GetString(i); it returns null, even though there are 5 elements in the collection.

Does anyone know how to get over this?

Steve

This question is marked "community wiki".

asked Nov 22 '14 at 10:25

Steve's gravatar image

Steve
162


My fault, I was picking up the getuidl in reverse order and it didn't like it. Working now starting from 0 in the array.

link

answered Nov 23 '14 at 12:35

Steve's gravatar image

Steve
162

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:

×5

Asked: Nov 22 '14 at 10:25

Seen: 580 times

Last updated: Nov 23 '14 at 12:35

powered by OSQA