Our applications (Customer/Order/Entry/AR/AP/Manuf/...)
allow our users to create and send email from reports, interactively, etc. The email is logged and sent. We have some clients who are now asking for "pretty" (meaning html, images etc) email. Currently we just create a simple text email body using standard VW text fields. I can see a few ways of handling this, but I am an curious would others may have done 1. create or find an html editor/viewer for VW 2. swap to an external html editor/viewer (have not looked for one yet) 3. invoke an email client (e.g. Thunderbird) passing it the recipients and subject and attachments (If I can do that) and let the user edit there and send Any comments would be welcome! -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Dennis Smith wrote:
*snip* > 3. invoke an email client (e.g. Thunderbird) passing it the > recipients and subject and attachments (If I can do that) > and let the user edit there and send You can pass thunderbird at least these three parameters to, subject and body, like this: "%path%\thunderbird.exe" -compose "to=address,subject=subject,body=messagetext" (*) Calling this via ExternalProcess should be easy enough. However, I do not know whether referenced images in an html messagetext are automatically attached. What is more, this way means you would need to have a finished html already. Also, have a look here: http://www.mozilla.org/docs/command-line-args.html This differs from the thunderbird settings, though. Hope this helps a bit. Claus _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Dennis smith-4
On Sep 12, 2008, at 5:36 PM, Dennis Smith wrote: > Our applications (Customer/Order/Entry/AR/AP/Manuf/...) > allow our users to create and send email from reports, interactively, > etc. The email is logged and sent. > > We have some clients who are now asking for "pretty" (meaning > html, images etc) email. Currently we just create a simple text > email body using standard VW text fields. > > I can see a few ways of handling this, but I am an curious > would others may have done Which/how many operating systems do you need to support? > > 1. create or find an html editor/viewer for VW > > 2. swap to an external html editor/viewer (have not looked > for one yet) > 3. invoke an email client (e.g. Thunderbird) passing it the > recipients and subject and attachments (If I can do that) > and let the user edit there and send 4. tell the OS to open a .html file which contains instructions to contact your app; your app then serves the opened browser one of the commonly available javascript based html editors. R - _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Reinout Heeck wrote: Windows for the next year or so -- I would be happy with a windows solutionOn Sep 12, 2008, at 5:36 PM, Dennis Smith wrote:Our applications (Customer/Order/Entry/AR/AP/Manuf/...) allow our users to create and send email from reports, interactively, etc. The email is logged and sent. We have some clients who are now asking for "pretty" (meaning html, images etc) email. Currently we just create a simple text email body using standard VW text fields. I can see a few ways of handling this, but I am an curious would others may have doneWhich/how many operating systems do you need to support? for now. One day -- Mac/Linux -- but thats in the future. 1. create or find an html editor/viewer for VW2. swap to an external html editor/viewer (have not looked for one yet) 3. invoke an email client (e.g. Thunderbird) passing it the recipients and subject and attachments (If I can do that) and let the user edit there and send4. tell the OS to open a .html file which contains instructions to contact your app; your app then serves the opened browser one of the commonly available javascript based html editors. R - _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 <a class="moz-txt-link-freetext" href="sip:dennis@CherniakSoftware.com">sip:dennis@... Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Claus Kick
You can use "mailto:" and shell command as well. The limitation on any
shell invocation is the length of the URL and the command line. Currently in all versions of MS windows the URL length is about 2k in size. As far as html in the message body - you can set the default Mozilla client to compose and send all the e-mails as HTML, and when you pass you message as properly composed HTML , the Mozilla displays and sends it accurately, with all of the formating. Hope this helps --Mark Claus Kick wrote: > Dennis Smith wrote: > > *snip* > > >> 3. invoke an email client (e.g. Thunderbird) passing it the >> recipients and subject and attachments (If I can do that) >> and let the user edit there and send >> > > You can pass thunderbird at least these three parameters > to, subject and body, > > like this: > > "%path%\thunderbird.exe" -compose > "to=address,subject=subject,body=messagetext" (*) > > Calling this via ExternalProcess should be easy enough. > > However, I do not know whether referenced images in an html messagetext > are automatically attached. > What is more, this way means you would need to have a finished html already. > > > Also, have a look here: > http://www.mozilla.org/docs/command-line-args.html > > This differs from the thunderbird settings, though. > > Hope this helps a bit. > > Claus > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > > vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |