NetTalk Central

Author Topic: Sending emails with attachments from nettalk using the sendemail procedure  (Read 4169 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
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 ?
 

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Mike,

Try setting the OptionsMimeTextCharset, eg:

ThisSendEmail.OptionsMimeTextCharset = 'iso-8859-1'

Peter

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
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