Code Comments
Programming Forum and web based access to our favorite programming groups.im sending email with cdonts.. my mail format is html format.. and also in my mail code there are html and javascript codes. i open my mail with outlook it works.. but im sending it to hotmail or yahoo emails the browser doesnt interpret it writes javascript codes like a text on screen. how can i solve it?
Post Follow-up to this messageIMO you can't. Likely done as a safety measure. You may want to check but I would avoid JavaScript in mails as it's likely be blocked... Patrice -- "Savas Ates" <savas@indexinteractive.com> a écrit dans le message de news:O1uWVwKpEHA.2068@TK2MSFTNGP09.phx.gbl... > im sending email with cdonts.. my mail format is html format.. > > and also in my mail code there are html and javascript codes. i open my mail > with outlook it works.. > but im sending it to hotmail or yahoo emails the browser doesnt interpret it > writes javascript codes like a text on screen. how can i solve it? > >
Post Follow-up to this message> im sending email with cdonts. Use CDO.Message. CDONTS has been deprecated, and you will have to migrate your code at some point anyway. http://www.aspfaq.com/2026 > but im sending it to hotmail or yahoo emails the browser doesnt > interpret it writes javascript codes like a text on screen. You can't change the way hotmail and yahoo render e-mail content to their users (hint: this has absolutely nothing to do with ASP or CDONTS!). Simple solution: don't send HTML and JavaScript! These things are blocked in many places for a reason. -- http://www.aspfaq.com/ (Reverse address to reply.)
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.