permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes Opening a popup using JS from outlook mails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Opening a popup using JS from outlook mails" Watch "Opening a popup using JS from outlook mails" New topic
Author

Opening a popup using JS from outlook mails

Aravind M Jay
Greenhorn

Joined: Mar 16, 2006
Posts: 15
Hi,

I'm trying to open a popup from the emails sent to outlook from our application. The popup contains some help text. I'm using velocity templates for the email content. But not able to open the popup on click of the hyperlink.

Is it possible at all to call a popup from the mail message?

Am using on click in the .vm file -
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Most email clients strip out JavaScript from the emails to help protect user security.

Eric
Aravind M Jay
Greenhorn

Joined: Mar 16, 2006
Posts: 15
Thanks for your reply. So does that mean there is no way to achieve this functionality?

Thanks,
Aravind
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18155
    
    8

You could just put the URL of your help page into the message. Many mail clients will convert that to a link, and open it in a browser if you click on it.
Aravind M Jay
Greenhorn

Joined: Mar 16, 2006
Posts: 15
Well, displaying it in a browser is not at all an issue and am able to do it. But the requirement is to open it as a popup.
Any more inputs on this?

Thanks,
Aravind
Aravind M Jay
Greenhorn

Joined: Mar 16, 2006
Posts: 15
Using javascript:window.open('example.html',400,600) I'm able to open a popup from outlook. But now the issue is the popup just vanishes within a fraction of a second.
Please lemme know what could be the issue.

Thanks,
Aravind
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Opening a popup using JS from outlook mails
 
Similar Threads
JButton to send automatic email
opening ms outlook from java application
Email Application in Java
Create e-mail via servlet
Problem viewing German umlauts in certain Outlook 20003