Send an HTML email with embedded images from a Website
This example demonstrates how to send an HTML email with embedded images from a
web page on a website.
Requirements
Working knowledge of creating and editing an HTML page.
Working knowledge of creating and editing a batch file.
Example Download
A working example can be downloaded, so that you can follow along with the example:
Click Here (website.zip 283 bytes)
The downloadable example is a zip file that contains one file:
send_email.bat - The batch file that will instruct NetMailBot to send the
email message.
Instructions for Download and Installation
Download the example zip file and save it to your hard drive
Create a directory on your C drive named "tmp"
Unzip all of the files in the example zip file into the newly created directory c:\tmp.
Steps
Choose a web page on a website that you wish to send
as the email message body. This example uses Yahoo!'s home page: http://www.Yahoo.com.
Open Notepad and edit the batch file send_email.bat.
Change the values of the parameters -to, -from, and -server to your own email address and your
mail server.
Execute the batch file by double-clicking it in "My Computer".