nagarajsh has asked for the wisdom of the Perl Monks concerning the following question:
When i run this, i get mail and the it displays "please click the following link to get the reports\n\n <a href=""\\\\111.1.34.100\\ABC\\Reports\\BCD\\Details\\MNO\$latest_bb_xls">click here"use SendMail; $smtpserver = "120.12.145.41"; $smtpport = 25; $sender = "Naga<math\@yahoo.com>"; $recipient = "ABC<math1\@yahoo.com>"; $sm = new SendMail($smtpserver,$smtpport); $sm->setDebug($sm->ON); $sm->From($sender); $sm->Subject("Reports Link"); $sm->To($recipient); $sm->setMailBody("please click the following link to get the reports\n +\n <a href=""\\\\111.1.34.100\\ABC\\Reports\\BCD\\Details\\MNO\$lates +t_bb_xls">click here</a>"); if ($sm->sendMail() != 0) { print $sm->{'error'}. "\n"; exit -1; } print "Done\n"; exit 0;
thanks in advance,
Naga
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Clickable link to open file on remote system
by tilly (Archbishop) on Jul 31, 2009 at 22:16 UTC | |
by afoken (Chancellor) on Aug 01, 2009 at 15:32 UTC | |
by tilly (Archbishop) on Aug 02, 2009 at 17:50 UTC |