Hi - I am currently trying to create two different files, that I have to mail to the bank. So My intention is to let the user start a process, that creates the files, creates an e-mail (Only one recepient ), but have two attachments. Also I need some more text, but it will more or less be the same - Something like: Summary for filename1.txt: Amount: 7542487.21 Remaining Amount: 45785.45 … Summeary for filename2.txt: … … … However I cannot create that much text within 250 chars. Any ideas anyone - Anyone allready did a OCX or something I could use ?
There is a SMTP OCX in the download section of http://www.myNavision.net which removes the 250 char limit. Edited by - LucVD on 2001 Aug 14 08:22:16
The Microsoft MAPI-OCX that Navision uses can perfectly well handle multiple attachments. It is the wrapper function that resides in codeunit 397 that limits the number of attachments to one. Simply create a new function in this codeunit, which accepts an array of filenames that are to be attached to the e-mail. Kind regards, Jan Hoek Weha Automatisering BV Woerden - The Netherlands
Hi, Can anybody explain (with specific examples) on how I can use the SMTP OCX download mentioned by Luc Van Dyck ? Thanks
Follow this link: http://www.nowecor.de/users/stephan/Navision/smtpocx.htm#use
Many Thanks
I can also greatly recommend you to use JMAIL (automation). You can download a free version here http://www.duplo.se It supports that you use almost any kind of attachments and as many as you wish!
quote:
Originally posted by jhoek
The Microsoft MAPI-OCX that Navision uses can perfectly well handle multiple attachments. It is the wrapper function that resides in codeunit 397 that limits the number of attachments to one. Simply create a new function in this codeunit, which accepts an array of filenames that are to be attached to the e-mail. Kind regards, Jan Hoek Weha Automatisering BV Woerden - The Netherlands
Is there something you wanted to say? [;)]