开发者

sending file as a link instead of an attachment in the mail

开发者 https://www.devze.com 2023-03-16 15:47 出处:网络
Is it possible to send the file as a link instead of attachi开发者_运维问答ng the file in the email. I am sending an email using Java . Now, i have a requirement thatI don\'t want to send the file as

Is it possible to send the file as a link instead of attachi开发者_运维问答ng the file in the email. I am sending an email using Java . Now, i have a requirement thatI don't want to send the file as an attachement instead I need to send it as a link.

Link will something be like abc.com\report\excel\"fileName", in which abc.com is the host/ machine name, and rest is the path location.

Thanks.


Mail format does't allow meta-attachments (i.e. by reference, not by instance). Your only option is sending HTML email with HTML link to the file (and of course it should be accessible via internet).

0

精彩评论

暂无评论...
验证码 换一张
取 消