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!
|
|
How to use MailMessage class from Scripting Properties and Functions
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. |
|
|
| |
|
Re: How to use MailMessage class from Scripting Properties and Functions
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. |
|
|
| |
| |
| |
|
Re: How to use MailMessage class from Scripting Properties and Functions
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 |
|
|
| |
|
Re: How to use MailMessage class from Scripting Properties and Functions
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? |
|
|
| |
| |
|