PDA

View Full Version : Extjs Inbuilt feature to open the mail client with subject, body and attachment



punith.mailme
17 Jan 2012, 6:24 AM
HI i want a email client for a web application i am developing.
I can achieve subject, body in the javascript using mailto : . but i also want to attach the document in the mail.

Does Extjs has any inbuilt feature to open the mail client with subject, body and attachments.

Thanks
Punith

kskrumpet
17 Jan 2012, 6:54 AM
Can't see how this would be possible. In using mailto: you're not actually using ExtJS functionality, and ExtJS wouldn't work "outside the browser" to be able to tell the email client what to do. It would be far better to send the mail from your server rather than forcing the sending of mail back on the client (although suitable safeguards would need to be put in place to prevent spammers using your site to send stuff).