NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on July 11, 2015, 12:44:47 PM

Title: Email send does not attach files in filelist in 8.53
Post by: terryd 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]
Title: Re: Email send does not attach files in filelist in 8.53
Post by: Bruce on July 12, 2015, 05:50:18 AM
thanks for the report Terry - I've uploaded 8.54 with the fix.

cheers
Bruce
Title: Re: Email send does not attach files in filelist in 8.53
Post by: Stu 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
Title: Re: Email send does not attach files in filelist in 8.53
Post by: Stu 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
Title: Re: Email send does not attach files in filelist in 8.53
Post by: Bruce 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
Title: Re: Email send does not attach files in filelist in 8.53
Post by: Stu on August 02, 2015, 10:30:35 PM
Rock on, thanks Bruce!