Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how can i send an attachment as a URL when i mail??  RSS feed

 
Prakhar Jain
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please guide me as to how an attachment can be sent as a URL in a mail instead of directly attaching the file to the mail???
 
David McCombs
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understand you right, if you want to send a file of some sort in email, you would like to send a link to its location on your machine?

Why would you want to do such a thing? I think that would open you up to attacks. It seems you would have to set up your machine as a server(bad idea to do this to your PC, IMO). Remember, emails are not encrypted by default, anyone could get that link. You can buy cheap server access from 1&1 or someone like it, and upload files, then send links. But why bother? It is easier just to attach the file.
 
Paul Clapham
Sheriff
Posts: 22472
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to send a link to the file, instead of attaching the file?

Have you tried the simple method of putting the URL into the body of the message as plain text?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!