Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Copper Elite Contributor
GCS
Posts: 39
Registered: ‎07-13-2010

Create E-Mail with attachment

Is there a way to send an e-mail out of the web client and assign an attachment to the e-mail by code?

Something like Application.BasicFunctions.QueMessage in the LAN-World?

Or is it possible to call the mail merge procedure and assign dynamic attachments to the mail merge template?

Please use plain text.
Moderator
jperona
Posts: 422
Registered: ‎05-07-2008

Re: Create E-Mail with attachment

The WebClient works a bit differently and it depends on how you want to handle email.

 

Are you looking to send the email from the Clients default email client so it can then be edited?  If so we do have some code you can use, but you'd need to add some attachment support.

 

Sage.Utility.writeEmail which can be found in utility.js

 

 

 

Another Option is to write some code on the server if you have access to an SMTP server from the Web Server.  .NET supports this through System.Web.Mail.  The following is a good article on tha scenario

 

http://www.4guysfromrolla.com/articles/080206-1.aspx

 

 

 

John Perona

Director, Saleslogix Engineering

Saleslogix

Saleslogix

Please use plain text.
Copper Elite Contributor
GCS
Posts: 39
Registered: ‎07-13-2010

Re: Create E-Mail with attachment

We are using an Outlook ActiveX object now.

Please use plain text.