|more useful options|
Hyperlinks in Mail::Outlook Moduleby BJ_Covert_Action (Beadle)
|on Jan 19, 2012 at 18:41 UTC||Need Help??|
BJ_Covert_Action has asked for the
wisdom of the Perl Monks concerning the following question:
I ended up finding my own solution to this one. Instead of using Mail::Outlook, I decided to use Win32::OLE and configure it to a new outlook application object. I don't know a lot about OLE, but the info. I found about interfacing it with Outlook was very useful: found here.
So setting the 'BodyFormat' and 'HTMLBody' did the trick.Original Problem
So, I'm writing an automatic e-mail notification system for my office. We run Windows 7 and Outlook is the only e-mail program that I am aware of existing on our systems. I've been trying to use the Mail::Outlook module to send my e-mails. The problem is that I can't seem to find a way to insert hyperlinks into the e-mail, that display text other than the url. So if I want to insert a link to Google, I can just post:
However, if I want to link to Google and make it read as, "Search Engine," I'm not sure there's a way to do that. Other mailer modules seem to get around this by formatting the links in HTML. But I don't see a way to format the message as HTML using this module. Does anyone know if there is a way to do that?