Back to Samples

Show HTML body with linked resources (use server script to download resources to client)

Saves all embedded resources (like inline images) into a folder, replaces Content-IDs in HTML body with paths to the saved resources, and displays the modified HTML body.

The generated IMG SRC values look like: "download.aspx?user_id=1234&message_id=62AB292A518CDD9FF197FC3E9F25FB505327C2FE&file_id=picture.gif". download.aspx script included.


Configure IMAP/POP3 access first!