Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unfolding header lines in TIdAttachment[File]
#1
First of all, thanks to you guys for having this forum running!
I did try to post on embarcodero but it seems to be cold dead.
My problem is in sending an attachment with TIdSMTP v.10:

Code:
TIdMsg *IdMsg;
//...
TIdAttachmentFile *attchmnt=new TIdAttachment(IdMsg->MessageParts, "filename.txt");
attchmnt->FoldLines=false; - ?
attchmnt->UnfoldLines=true; - ?
IdMsg->Send();

this message does arrive to its intended destination with proper attachment, but the receiving server wants
the attachment header lines to be unfolded and header fields to be  separated by "; " (semicolon followed
by a space). So, where do I go to satisfy this server? Thanks in advance. Boba TC.
Reply


Messages In This Thread
unfolding header lines in TIdAttachment[File] - by Boba TC - 06-08-2018, 01:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)