[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Attachment attribute for mailto component  XML
Forum Index -> Development
Author Message
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi,

Is it possible to provide the mailto component with an attachment attribute?

Regards, Daniel
[WWW]
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

Hi,

as I think the component uses the desktop function and the mailto:// scheme,you may can attach your files with parameter &attachment="c:\test.txt"

regards
Markus
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi,

there are two issues:

1. the "mailto://" URL is built on client side by the MAILTO component, so it is not under full control of the server side application...
2. the client side file is a bit a problem here because the application is running on server side

So, it's not 100% simple ;-)

Regards, Björn


Björn Müller, CaptainCasa GmbH
levy

Power User

Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline

Hi,

My colleague Joachim has provided an excellent idea to solve this requirement.
1. Create a message file with attachment.
2. Download it dark with openimmediately

Possible message file formats: eml or msg.
Eml files can be created with javax.mail library.
For Msg files, we have found a low priced library:
http://www.independentsoft.de/jmsg/index.html

Regards, Daniel
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

...thanks for this info!
Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team