You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by "oliver.stef" <ov...@gmail.com> on 2013/05/06 17:10:47 UTC
create link to email with attached file wicket
Hi all,
I created a link that when you press on it - it opens the default email
program (code above)
<span wicket:id="emailText"/> <#>
and then add a label into the link like:
ExternalLink link = new ExternalLink ("email", "mailto:" + user.getEmail());
link.add (new Label ("emailText, user.getEmail()));
item.add (link);
My question is - how can I attached File to the mail?
Thanks!
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/create-link-to-email-with-attached-file-wicket-tp4658584.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.
Re: create link to email with attached file wicket
Posted by Andrea Del Bene <an...@gmail.com>.
Please, send this kind of mail to the user mailing list
(users@wicket.apache.org).
BTW, I think you need to use a further parameter to specify the
attachment (like "&attachment="/my_location/file.ext").
> Hi all,
>
> I created a link that when you press on it - it opens the default email
> program (code above)
>
> <span wicket:id="emailText"/> <#>
> and then add a label into the link like:
> ExternalLink link = new ExternalLink ("email", "mailto:" + user.getEmail());
> link.add (new Label ("emailText, user.getEmail()));
> item.add (link);
>
> My question is - how can I attached File to the mail?
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/create-link-to-email-with-attached-file-wicket-tp4658584.html
> Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.