NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on November 15, 2015, 02:22:47 AM

Title: Sending emails with attachments from nettalk using the sendemail procedure
Post by: MikeR on November 15, 2015, 02:22:47 AM
I am sending emails successfully from my webserver app using the standard sendemail procedure example that comes with nettalk.
I have a problem sending PDF's and Excel Documents as attachments..
The mail actually goes through and sends the documents but when thay arrive on the other side they are much smaller and cant be opened.
eg. when I try and open the attachement Adobe says the file is corrupt or it was send via email and wasn't decoded correctly.

I assume the msg was sent as an email and wasn't decoded correctly is a clue to y problem.

all I do is put the full file names in the attachlist eg. 'c:\1.pdf,c:\2,xlsx'

Who can tell me whats going on and how I fix this ?
 
Title: Re: Sending emails with attachments from nettalk using the sendemail procedure
Post by: peterH on November 15, 2015, 04:45:52 AM
Mike,

Try setting the OptionsMimeTextCharset, eg:

ThisSendEmail.OptionsMimeTextCharset = 'iso-8859-1'

Peter
Title: Re: Sending emails with attachments from nettalk using the sendemail procedure
Post by: kevin plummer on November 15, 2015, 03:46:05 PM
I just started having the same issue last week but not with all emails sent - just those sent to certain people. The PDF's open fine on our server but some people say they can't open them as attachments on their computer, same problem as Mike. I assumed it was an Adobe reader upgrade problem but tests we did using NT7, those same people were able to open the PDF's.
Title: Re: Sending emails with attachments from nettalk using the sendemail procedure
Post by: Bruce on November 16, 2015, 02:04:43 AM
this was fixed in 8.61 or 8.59 or something.
see the release notes - specifically for folk using Outlook as their email client.

cheers
Bruce