Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, August 28, 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 create an Email with signatures(Outlook 2003, SLX 7.2)
Veronka Capone
Posts: 113
 
How to create an Email with signatures(Outlook 2003, SLX 7.2)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Mar 09 5:32 PM
Hi,

I need to create an email with an attachemnt and user's signature.

When I assign
SafeItem.HTMLBody = "somethig" signatures are gone.

Below is the code which I am using (I tried both with Redemption and without and I have the same result).


Dim oOutlook
Dim oOutlookMail, SafeItem

Set oOutlook =CreateObject("Outlook.Application","localhost")
Set SafeItem = CreateObject("Redemption.SafeMailItem")
Set oOutlookMail = oOutlook.CreateItem(0)
SafeItem.Item = oOutlookMail

if strEmailTo <> "" then
SafeItem.Recipients.Add(strEmailTo)
end if

if strEmailToCC <> "" and strEmailToCC <> strEmailTo then
SafeItem.Recipients.Add(strEmailToCC)
end if

SafeItem.Subject = strSubject
if strReplAttachment <> "" then
SafeItem.Attachments.Add(strReplAttachment)
end if
if strRepairAttachment <> "" then
SafeItem.Attachments.Add(strRepairAttachment)
end if

SafeItem.Recipients.ResolveAll
''get signatures
SafeItem.Display

'SafeItem.HTMLBody = Replace(SafeItem.HTMLBody, InsertSomehowBeforeSignatures & ComposeQuoteEmailBody(strType))

SafeItem.HTMLBody = ComposeQuoteEmailBody(strType)

Set SafeItem = Nothing
Set oOutlookMail = Nothing
Set oOutlook = Nothing


BTW. We do not have SLX integrated in Outlook, so I cannot use QueMessage...

Thanks.
[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): 8/28/2025 12:05:03 PM