Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, July 8, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: How to use MailMessage class from Scripting Properties and Functions
Ashish N.
Posts: 17
 
How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 6:18 PM
Hi,

Is there any sample code available in VBScript for using the MailMessage class.

I've tried instantiating using new, CreateObject, Application.CreateObject. Also tried combinations of "SalesLogix.MailMessage", "Application.MailMessage", "MailMessage", "MailMessageClass", "MailMessageObject" in the CreateObject method but none seem to work.

I was not able to find any references under google search also.

Thanks,

Ashish.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 6:35 PM
So what exactly are you trying to do? (Many of the items that are not meant for public consumption are created in a way that does not allow for external instanciation).

Guessing that you're trying to send an e-mail?
[Reply][Quote]
Ashish N.
Posts: 17
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 6:45 PM
Hi,

Thanks for the quick response.

I am trying to send an email from a SalesLogix client. I need to do stuff like attach a document to the mail message.

I do not want to use CDO because it is dodgy especially with antivirus, and sometimes does not allow the SLX Client to close properly giving out Invoke.IDispatch() errors.

Regards

Ashish.
[Reply][Quote]
Ashish N.
Posts: 17
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 6:50 PM
Actually, I have now decided to use:

Application.BasicFunctions.QueMessage.

But it would be handy to know how to use the MailMessage class as it looks promising with the amount of properties available.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 6:50 PM
You can try Application.BasicFunctions.QueMessage. It brings up a new mail window, with your file attached and all, the user just needs to click "Send" to send it off. Other than that, there's nothing built in to do it, you'd have to code something yourself.
[Reply][Quote]
Ashish N.
Posts: 17
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 May 08 6:52 PM
Thanks, Ryan.
[Reply][Quote]
Taf Greenstreet
Posts: 11
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 08 10:22 AM
I'm also trying to send email to be saved in SalesLogix, but I don't want to be dependent on the user. Our default client is Outlook with the Send SLX button activated.

I can prepare the Outlook entity (message) in its entirety, but is there a way to remotely call the Send SLX routine from outside Outlook? My explorations of slmn.dll have only revealed two events surrounding Send SLX.

Any assistance would be deeply appreciated!

--Taf
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 08 10:33 AM
There's nothing built-in to SLX to facilitate the sending of an e-mail without user intervention. You'd have to code that yourself.
[Reply][Quote]
Chris
Posts: 2
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jun 08 11:42 AM
I wrote my own code to do some emailing via Outlook within SLX, built would also like to save the email in the contact's notes history (i.e., do the same thing as the Send SLX button in Outlook automatically). Any idea how I might invoke the process triggered by clicking the Send SLX button in Outlook, or alternatively, do you have any details on what exactly that process is doing so I might replicate it myself?
[Reply][Quote]
Renee Colwell
Posts: 2
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 09 12:09 PM
Did you find a solution to this? We are trying to do the same thing -- automatically produce and send a series of individualized emails, and then log all back to SalesLogix via the "Send SLX" button, but with no user intervention.
[Reply][Quote]
Lucien
Posts: 20
 
Re: How to use MailMessage class from Scripting Properties and FunctionsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Jan 10 2:48 PM
Hi I think it works well, especially with user intervention, this gives the user control over their emails.
I was just wondering if there is a similair function which can send meeting requests? or do i just change the type of maiL?
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/8/2025 3:10:47 PM