Hi easy simple method is to use early binding referencing
outlook
Dim oOutL As New Outlook.Applica tion
Dim oMail As Outlook.MailIte m
oMail = oOutL.CreateIte m(Outlook.OlIte mType.olMailIte m)
oMail.UnRead = True
oMail.To = "adamzuneidissa t@domainname.co m"
oMail.Subject = "hello"
oMail.send()
but better with late binding as its client independant
Excuse me for jumping in but I have a follow up question on this technique.
When I use this method, Outlook jumps up with a dialog telling me that "A
program is trying to automatically send email on your behalf...."
Is there a way to tell outlook in 'advance' that this program is allowed to
do this?
Also, Outlook uses the default email account as the from but I can not see a
way to select a different from account - know of a way to do that?
TIA
--
Terry
"Adamz5" wrote:
>
>
Hi easy simple method is to use early binding referencing
outlook
>
Dim oOutL As New Outlook.Applica tion
Dim oMail As Outlook.MailIte m
oMail = oOutL.CreateIte m(Outlook.OlIte mType.olMailIte m)
oMail.UnRead = True
oMail.To = "adamzuneidissa t@domainname.co m"
oMail.Subject = "hello"
oMail.send()
>
>
but better with late binding as its client independant
>
Hope this helps
>
Adam Zuneid Issat
>
>
>
>
Comment