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!
|
|
Send a hyperlink in an e-mail
Posted: 08 May 06 2:13 PM
|
fiogf49gjkf0d I am able to generate a new e-mail message through Microsoft Outlook using "Application.BasicFunctions.QueMessage" and the necessary parameters. Now, I need to know how I can format text as a hyperlink. Jscript uses the Link Method. Does VBScript use anything like that? |
|
|
|
Re: Send a hyperlink in an e-mail
Posted: 09 May 06 12:13 PM
|
fiogf49gjkf0d Outlook is supposed to treat anything that starts as a hyperlink as a hyperlink (http://, ftp://, etc). I believe QueMessage is a simple passthrough for the mailto: protocol which may not convert the text to a link properly. If that's the case, there's always using the Outlook COM object to create a email message but you run into security prompts when you do that.
Try looking at Do_Outlook_AS I believe it's called. It's a SalesLogix VBScript file that does Outlook manipulation at a basic level with the only problem being the second you try to assign recipients, the security prompts pop up.
If all of this is true that really stinks. SalesLogix provides no way of using their External MAPI wrapper to get around the security prompts. Yes you can become a spammer this way but people who are going to do it, install something like Redemption to circumvent it anyway. |
|
|
|
Re: Send a hyperlink in an e-mail
Posted: 10 May 06 9:15 AM
|
sertraline 50mg tablets sertraline 50mg fiogf49gjkf0d Thanks, Jeremy. The text is not converting to a link properly. I have to place the cursor at the end of the link, insert a space, and then delete it just to make the link appear. I don't think I should have to do this.
How can I access the Outlook COM and Do_Outlook_AS? In addition, how can I have the message sent automatically? I don't want users to be able to edit the message.
Everyone's help is greatly appreciated! |
|
|
|
Re: Send a hyperlink in an e-mail
Posted: 10 May 06 11:37 AM
|
budesonide wiki over the counter asthma inhalers fiogf49gjkf0d I figured it out! I simply included the "a href" tags in my string constant and the link appeared in the email message. It's a simple solution now that I think about it and now that it's working.
Thanks again to Jeremy and anyone else who may have been looking in to this. |
|
|
|
Re: Send a hyperlink in an e-mail
Posted: 10 May 06 12:51 PM
|
fiogf49gjkf0d I see. It doesn't convert the link for you automatically, you have to type out the correct HTML tag which it then converts.
For the future, Do_Outlook_As is a SalesLogix VBScript plugin in the database. You can open it in Architect's plugin manager.
If you want to bypass Outlook entirely there's sendmail.dll I believe that is a COM object to just send messages via SMTP. That's the method I prefer when I don't need to keep a record of an automatically sent email message. The only reason I even use the Outlook COM object is so that "history" is kept in Outlook for the one person that uses it. |
|
|
|