M.J.
M.J.

Reputation: 16646

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

Is it possible to send the file as a link instead of attaching 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.

Upvotes: 0

Views: 264

Answers (1)

setec
setec

Reputation: 16090

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).

Upvotes: 1

Related Questions