a quick image in email body by using a link (1 Viewer)

Rand

Registered User.
Local time
Today, 09:37
Joined
Jul 28, 2013
Messages
17
heres a simple solution i needed to use
basically i didnt want to send emails with an image as an attachment
i wanted it in the body. also i wanted to use an image from the internet
not on my hard drive.
so this quick program allows this.
you need outlook and also a reference to outlook 14.0 or change the reference to yours.


this is just for visual effect to make sure its the pic i want you dont have to even perform it.
1- click the button load the file.
- in my code we are grabbing google's logo and storing it into the temp folder
- again its just cause i can

this just formats the email with the link of the image and does not physically attach it.
when the person receives the file their client will download the small image and display it.
2- click the send files button.

what does this show us.
we can download files using urlmon silently
we can use images as links in the recipients email
we can use non standard graphics on our forms.

code is somewhat commented.
theres no error handling , thats where you come in.
tnx for listening
 

Attachments

  • imageinbody.accdb
    640 KB · Views: 55
  • gl.jpg
    gl.jpg
    21.1 KB · Views: 88

Users who are viewing this thread

Top Bottom