Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Nickel Elite Contributor
Posts: 107
Registered: ‎03-09-2011

Email Templates and Que Message

Is it possible to use email templates using 

 

Application.BasicFunctions.QueMessage

 

Failing that, is there a way to programatically send email messages with attachments.  SLX LAN Client 7.5.4 with current hotfixes and patches.

 

See related thread for what I am doing.  Users now what rtemplated text in the body of the message. I figure a template gives them the flexibility to change as needed so I'm not hardcoding message bodies all the time.

 

http://community.sagesaleslogix.com/t5/Developer-LAN-Mobile-Visual/Application-BasicFunctions-QueMes...

 

Thanks.

 

 

Nickel Elite Contributor
Posts: 107
Registered: ‎03-09-2011

Re: Email Templates and Que Message

Another Alternate, I would like to ensure specific formatting if I can not use a template programattically. It appears that Write email using template is all bundled up in secured functions.
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Email Templates and Que Message

Wrote my own version using "CDO" for a customer (and we use it as well ;-)

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Nickel Elite Contributor
Posts: 107
Registered: ‎03-09-2011

Re: Email Templates and Que Message

Thanks, that's what I was afraid of.  Time to pick the path of least pain/resistance

 

Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Email Templates and Que Message

Once I did mine I stopped using the "built-in" because it is just too limiting.. now one can do just about anything they want or need to do.

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Nickel Elite Contributor
Posts: 107
Registered: ‎03-09-2011

Re: Email Templates and Que Message

Ok, now for a tangentially realted issue.

 

Using outlook to send HTML email with attachments. (see the link in my OP for details).

 

Does Outlook automatically send multi-part mime comliant email.  My concern is sending trash to to a customer that suffers with an outdated email server/client (You know they're still otu there). Marekting guys are putting the pressure on sending HTML formatted emails. Programmer/Nerd preferences aside, I can't fend this one off and I really don;t want to send trash to customers.

 

 

Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Email Templates and Que Message

Here is another approach I have successfully used:

 ....   

  Set objOA = CreateObject("Outlook.Application")

...

 

This is used in the customization we developed to send emails from our "knowledge base"  (which is part of SalesLogix) to individuals.

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Employee
Posts: 629
Registered: ‎04-24-2009

Re: Email Templates and Que Message

In response to the original question, the e-mail templates are strictly designed for use with mail merge and cannot be used with the Que* methods. The mail merge method MergeFromPluginEx can be used to send attachments (you pass an array of AttachIds); in addition, the mail merge method MergeFromFile will allow you to send an attachment from any location (i.e. Attachments path, Sales Library, or local client file system).

 

Thanks

 

Mike