We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

Create Mail through SO Web Tools?

Hello,

i want to create a Mail in Outlook with So Template. In the Windows Application i can use the folliwing code to create and open a Mail in Outlook:

 

set app = wscript.CreateObject("Superoffice.Application")
set doc = app.Database.CreateDocument
doc.SetDefaults
doc.Contact = app.Database.GetContact(3)
doc.Person = app.Database.GetPerson(12)
doc.Description = "My Document"
doc.Done = Now
doc.Template = app.GetListItem(130, 388)
doc.Header = "My Letter"
doc­.GenerateDocumentFile

'doc.filename "c:\temp\test.somail"
doc.Save

set shell = wscript.CreateObject("wscript.Shell")
shell.Run("""C:\Program Files (x86)\SuperOffice\SuperOffice Mail Link\SoMailParser.exe"" """ & doc.FullPath & """") 


Is it possible to do it for SO.WEB with the So Web Tools?

 

Thanks a lot

 

Mike

Inga svar ännu!