RS First Dynamics NAV Blog


...from NAV 3.60 to NAV 2013
Archivio Posts
Anno 2015

Anno 2014

Anno 2013

Anno 2012

Anno 2011

Anno 2010

Anno 2009

Anno 2008

Anno 2007

Send e-mail with attachment & templates

A my short C# script to send e-mail with attachment & template (published on MDSN TechNet - Script Center)

http://gallery.technet.microsoft.com/scriptcenter/0c32d24a-3651-4fe1-8d10-80f9c6440a70

Usage/Utilizzo

>>  compile a DLL .NET usable on Windos Systems>> compila una DDL .NET e richiamala da Windows

main functions 
 
- setMail(string parfrom, string parto, string parcc, string parsubject, string partextmessage, string parpathattach, string parpathtemplate) 
 
- sendMail() 


Full Script is here:

http://gallery.technet.microsoft.com/scriptcenter/0c32d24a-3651-4fe1-8d10-80f9c6440a70

Parameters

setMail(string parfrom, string parto, string parcc, string parsubject, string partextmessage, string parpathattach, stringparpathtemplate)

parfrom = MailFrom, parto = MailTo, parcc = Subject, partextmessage = TestMessage, parpathattach = Attachment Path, parpathtemplate = Mail Template Path

SendMail() > invia la mail


Categoria: Dynamics NAV ALL
domenica, 13 lug 2014 Ore. 23.03
Statistiche
  • Views Home Page: 361.293
  • Views Posts: 757.394
  • Views Gallerie: 0
  • n° Posts: 345
  • n° Commenti: 0
Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003