NetTalk Central

Author Topic: Email send does not attach files in filelist in 8.53  (Read 2982 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Email send does not attach files in filelist in 8.53
« on: July 11, 2015, 12:44:47 PM »
I updated to 8.53 from 8.52 today.
After a couple of hours sending emails with attachments which were not attached I reverted to 8.52.
I fixed up the Web11 example and set it to send an attachment.
I received the email with the attachment.
I then copied the web11 apllication out of the examples folder and reinstalled 8.53
I then compiled and ran the web11 example again.
The email was received but with no attachment.
If you look at the 2 attachments you can see that the section after the text message:
---=_NextPart_000_d20150711t222426.13c1r429567
Content-Type: application/pdf;
 name="POL123455.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="POL123455.pdf"

has the filename

but in the 853 conversation there is nothing.



[attachment deleted by admin]
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
Re: Email send does not attach files in filelist in 8.53
« Reply #1 on: July 12, 2015, 05:50:18 AM »
thanks for the report Terry - I've uploaded 8.54 with the fix.

cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
    • Email
Re: Email send does not attach files in filelist in 8.53
« Reply #2 on: August 02, 2015, 08:49:18 PM »
Hi Bruce,

I'm on 8.58 and still having trouble with this issue (attachments not being sent out).

I've got an email going out that has both embedded images and possibly attachments (depending on what the user selects).

If the email gets sent without any attachments, all works fine.

If they tick one of the attachment (different pdfs) options, the email gets sent without the attachment AND with the embedded images set as attachments (screenshot attached).

I'm not sure how to replicate this is an example, as it's obviously fixed for most folk in 8.54.

I've done a full recompile.

Will try sending without any images embedded, see if that's something or just a red herring.

Stu
Cheers,

Stu Andrews

Stu

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
    • Email
Re: Email send does not attach files in filelist in 8.53
« Reply #3 on: August 02, 2015, 08:54:15 PM »
Can confirm, when I comment out:

Code: [Select]
ThisEmailSend.EmbedList = ThisEmailSend.EmbedImages(ThisEmailSend.MessageHtml,true,'')
This line, the attachments get sent fine.

Stu
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11193
    • View Profile
Re: Email send does not attach files in filelist in 8.53
« Reply #4 on: August 02, 2015, 10:27:06 PM »
confirmed - thanks Stu.
Line 3888 of NetEmail.clw reads;

self.attachmentList= self._ConvertList (self.EmbedList) 

and should read

self.EmbedList = self._ConvertList (self.EmbedList) 

I'm make an update build for this this morning.

cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
    • Email
Re: Email send does not attach files in filelist in 8.53
« Reply #5 on: August 02, 2015, 10:30:35 PM »
Rock on, thanks Bruce!
Cheers,

Stu Andrews