English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know things like this are possible in ASP, but I am looking for html code that would pull another html page. What I need this for is we have a database prorgram that allows us to send out html emails like a newsletter. What I do is create an html file and then copy the code into the email and send it out via the database client. I was wondering if there was code that "pulled" the page I edit from my webserver and send it via the database email function, so I dont have to edit the html page, then copy it into an email, and then send it. This would allow me to not have to edit the email, and just send it out after I update the html file. Thanks

2007-03-15 03:42:52 · 2 answers · asked by SigEpShawn 2 in Computers & Internet Programming & Design

2 answers

You could include the edited html page in the email using an iframe, but there are a few drawbacks to this. One is that your included content isn't pulled in until the message is opened, so someone downloading his email via dialup and viewing it offline has to go online again to see it. Another is that this kind of thing may trigger spam-blockers or security warnings. Also, if you're sending out the message with a plain-text alternative, the plain-text guy (there's probably only one of him, these days) misses out.

Other than that, I don't see what you can do in html, as the html code doesn't do anything until it's interpreted by a mail reader or web browser. To actively pull code from one file and insert it into another automatically, you'll need ASP or other server-side processing.

2007-03-15 04:44:14 · answer #1 · answered by injanier 7 · 0 0

Is it even possible?

2016-03-28 23:52:53 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers