Delete *this* message when user activates an html link.

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

I have a script that generates email with HTML encoding and sends it
to various people at my company. It asks them a question, and gives
two HTML links for possible answers. Since they should only answer
once, I'd like to include VB script (it's given they're using Outlook
2000 at this point) that deletes just that message. It'd have to be
imbedded in the HTML to work, something like an "onclick" function in
the <a href> tag.

Or perhaps there's an even easier way?

TIA,
Fred
 
It's certainly not possible that way. Outlook blocks script in HTML messages
for security reasons. If you're asking only one question and they're all
using Outlook, why not use voting buttons?
 
Because I need it to trigger an action (run a cgi script with very
specific parameters) on a remote machine. I figured it would be
blocked for security reasons, but thought there might be a way for an
email to delete only itself.
 
Not with HTML scripting. You didn't answer my question about voting buttons.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Fred said:
Because I need it to trigger an action (run a cgi script with very
specific parameters) on a remote machine. I figured it would be
blocked for security reasons, but thought there might be a way for an
email to delete only itself.


"Sue Mosher [MVP-Outlook]" <[email protected]> wrote in message
It's certainly not possible that way. Outlook blocks script in HTML messages
for security reasons. If you're asking only one question and they're all
using Outlook, why not use voting buttons?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Sue Mosher said:
Not with HTML scripting. You didn't answer my question about voting buttons.

To be perfectly honest, I don't know what "voting buttons" are or how
to include them in an email sent by a PERL script running on a Linux
server.
 
Voting buttons are an Outlook-only feature that provides a simple way of
getting user responses and, on a published custom Outlook form, using them
to run code for each response. You can only generate a voting button message
from Outlook.

Also note: The newsgroup interface you are using apparently does not quote
earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Fred said:
"Sue Mosher [MVP-Outlook]" <[email protected]> wrote in message
Not with HTML scripting. You didn't answer my question about voting
buttons.

To be perfectly honest, I don't know what "voting buttons" are or how
to include them in an email sent by a PERL script running on a Linux
server.
 
Back
Top