login about faq

Hi

For some of the email's "From" string truncated. For Example, "From" written as "Test Sender Name <TestSender@Name.com>"

For some emails only not for all emails, I could not find exact pattern ie for some email having special character " (, & , ) etc" then also I got proper string.

CkString ckSt;
ckMail->get_From(ckSt);
const char *fromdata = ckSt.getString();
fromdata variable has only  TestSender@Name.com
I need whole string "Test Sender Name <TestSender@Name.com>".

Please treat it as urgent issue.

By the way I am licensed customer.

Let me know where should I send binary of email if you want to reproduce.

I am using latest library. :)

Thanks Mehul

asked Oct 18 '12 at 11:11

Mehul1's gravatar image

Mehul1
1112

edited Oct 18 '12 at 18:24

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


Examine the .eml file using a text editor. If the email is not available in a .eml, then you may save it by calling the SaveEml method. Examine the "From" header field. Whatever it contains, is what the get_From method should be returning.

link

answered Oct 18 '12 at 18:27

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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:

×1

Asked: Oct 18 '12 at 11:11

Seen: 552 times

Last updated: Oct 18 '12 at 18:27

Related questions

powered by OSQA