I've attached a jpeg as the attachment. This is the code:
Dim otl
Dim mal
Dim olMailItem
Set mal = otl.CreateItem(olMailItem)
with mal
.To = xxxx@hotmail.com
.Subject = "A new picture"
.Body = "emailMSG"
.Attachments.Add "C:\pic1.jpg", 1, 1, "pic1"
.Importance = 2
.DeferredDeliveryTime = DateAdd("n", 60, Now())
.Send
End With
Set mal = Nothing
Set otl = Nothing