Javascript call in mail Url

25 views
Skip to first unread message

Raudra

unread,
Jul 31, 2014, 7:39:47 AM7/31/14
to rubyonra...@googlegroups.com
I want to implement a javascript call in callback mail. There is any way to do this ..
Answer will be appreciated ,thanks 

Colin Law

unread,
Jul 31, 2014, 8:48:51 AM7/31/14
to rubyonra...@googlegroups.com
On 31 July 2014 12:39, Raudra <raudra...@strata.co.in> wrote:
> I want to implement a javascript call in callback mail. There is any way to
> do this ..

Can you explain what you mean by 'callback mail'?

Colin

Walter Lee Davis

unread,
Jul 31, 2014, 10:01:14 AM7/31/14
to rubyonra...@googlegroups.com
Also, if you expect a JavaScript to execute in a mail client (Outlook, Gmail, Mail.app) you will be waiting a very long time. That door is bolted securely shut for very good reason.

Walter


Robert Walker

unread,
Jul 31, 2014, 7:24:44 PM7/31/14
to rubyonra...@googlegroups.com
Walter Davis wrote in post #1153927:
If I'm not mistaken this is also true for most web based mail apps
running in browsers. Running JavaScript from user provided input (i.e.
the HTML email body) would very much open up the email viewer page to
XSS attacks. I'm quite sure the web mail clients would aggressively
strip all JavaScript from the contents of the email.

--
Posted via http://www.ruby-forum.com/.

Walter Lee Davis

unread,
Jul 31, 2014, 10:22:44 PM7/31/14
to rubyonra...@googlegroups.com
That's what I meant by adding Gmail in there. I forgot about the native Gmail client on iOS, so that was ambiguous. This goes all the way back to Hotmail before MS bought it. Even though the browser can run JS, they would be mad to let you do that to yourself without really aggressive sanitization.

Walter

>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cef94a8a4ba524ad579826d7fccb3521%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages