I am trying to help a former collegue with a system that isn't quite working right for them right now.
They have an web page that is used only internally, that takes as input several xml files. These xml files indicate different options that the end user can select to pick pre-defined canned items and generate what will appear to be a unique email for an individual.
This application then determines which options where selected, the email address, and subject line, and it will create a "mailto:" URL to generate the email. It goes through and creates the body of the email in two ways... one is URL sensitive so that it can be sent through the URL and is simple plain text, the other is HTML so that the user can choose to preview the body in an explorer window before generating the email. The mailto: link is then activated... and it brings up Outlook with the subject, to address, and body.
Their first issue is that if they choose too many items, they hit an error when the URL is greater than 1800 characters. To work around it, the designer put in a test for 1800 characters, and if so, tells the user to use preview mode, highlight the text, copy and paste it into the email that is generated with only the email address and subject.... they're getting tired of hitting that issue... usually they don't preview... so this means that they have to cancel the first email - then go back and hit preview; and start over.
Their second issue is that the URL generated email is plain text.
I've added code that takes the HTML email formatted string and generates a text file with it and saves it to their desktop.
In Outlook Express, I can do an insert object manually and insert the HTML file - and send. In Outlook 2003, Insert Object isn't an option. I need to be able to either use scripting or VBA macro, or something where with a click of a button it can insert the contents of the file in HTML format into the body of the email...
any ideas the best way to approach this?
Penny
They have an web page that is used only internally, that takes as input several xml files. These xml files indicate different options that the end user can select to pick pre-defined canned items and generate what will appear to be a unique email for an individual.
This application then determines which options where selected, the email address, and subject line, and it will create a "mailto:" URL to generate the email. It goes through and creates the body of the email in two ways... one is URL sensitive so that it can be sent through the URL and is simple plain text, the other is HTML so that the user can choose to preview the body in an explorer window before generating the email. The mailto: link is then activated... and it brings up Outlook with the subject, to address, and body.
Their first issue is that if they choose too many items, they hit an error when the URL is greater than 1800 characters. To work around it, the designer put in a test for 1800 characters, and if so, tells the user to use preview mode, highlight the text, copy and paste it into the email that is generated with only the email address and subject.... they're getting tired of hitting that issue... usually they don't preview... so this means that they have to cancel the first email - then go back and hit preview; and start over.
Their second issue is that the URL generated email is plain text.
I've added code that takes the HTML email formatted string and generates a text file with it and saves it to their desktop.
In Outlook Express, I can do an insert object manually and insert the HTML file - and send. In Outlook 2003, Insert Object isn't an option. I need to be able to either use scripting or VBA macro, or something where with a click of a button it can insert the contents of the file in HTML format into the body of the email...
any ideas the best way to approach this?
Penny