Alice is sending Bob an email message. It includes some large static content somehow. From my very basic understanding of email you can just send a HTML message, so let's say that the HTML includes an image tag <img src="dogpics.com/assets/dog.jpg" width="500" height="600">
.
- Alice's Mail User Agent sends a message to her Mail Transfer Agent (MTA)
- Her MTA forwards it on through some other MTAs (?)
- It arrives at the destination MTA
- The destination MTA passes the message onto a Mail Delivery Agent that can reach Bob
- Bob's Mail User Agent will pick up the message the next time he runs it
What is happening to a sizeable static file when the message is making its journey from Alice to Bob?
Does the Destination MDA save the file itself and become the new host of this image? E.g. rewriting the HTML to src="destinationMDA.com/assets/x123x1nj4xn1i4.jpg"
Or is the static file still being hosted from dogpics.com
and will only get retrieved when Bob opens his MUA and reads the message?
But it also sounds like a message body can be a multipart MIME type. Does where the image first gets loaded, depend on whether it's an embedded image or an attachment to the email (which I guess might use MIME types?)