lifeson
09-15-2008, 01:56 AM
I have the following code to send an email with an attachment (fName)
With MItem
.To = eMail
.Subject = subj
.Body = msg
.Importance = 2 'high
.Attachments.Add fName, 4
.Display
'.Send
End With 'mail item
Looking at the syntax from the msdn site here
http://msdn.microsoft.com/en-us/library/aa217214.aspx there is an option for position, but there is no mention what the values are supposed to be.
.Add(Source, [Type], [Position], [DisplayName])
I want the attachment to be positioned below the message
Any ideas what the values are?
With MItem
.To = eMail
.Subject = subj
.Body = msg
.Importance = 2 'high
.Attachments.Add fName, 4
.Display
'.Send
End With 'mail item
Looking at the syntax from the msdn site here
http://msdn.microsoft.com/en-us/library/aa217214.aspx there is an option for position, but there is no mention what the values are supposed to be.
.Add(Source, [Type], [Position], [DisplayName])
I want the attachment to be positioned below the message
Any ideas what the values are?