R
ReidarT
I use Mapi to send emails with attachments.
When I use the
MAPISession1.DownLoadMail = False
MAPISession1.SignOn
With Me.MAPIMessages1
.SessionID = MAPISession1.SessionID
.MsgIndex = -1
.Compose
.MsgSubject = strSubject
'.RecipType = mapToList
.RecipDisplayName = strAddressTo
.RecipAddress = strTo
.AddressEditFieldCount = 4
.MsgNoteText = strMsg
.AttachmentPathName = Maalfil
.Send (True)
When I display the email the receipient is listed with <> example: Reidar
<[email protected]>
This fails when sending.
If I change the receipient to Reidar ([email protected]) it works OK.
And it seenms that I can't change from < >to () by code.
(I know that I could use vb.net, but in this case I want to use VB6)
regards
reidarT
When I use the
MAPISession1.DownLoadMail = False
MAPISession1.SignOn
With Me.MAPIMessages1
.SessionID = MAPISession1.SessionID
.MsgIndex = -1
.Compose
.MsgSubject = strSubject
'.RecipType = mapToList
.RecipDisplayName = strAddressTo
.RecipAddress = strTo
.AddressEditFieldCount = 4
.MsgNoteText = strMsg
.AttachmentPathName = Maalfil
.Send (True)
When I display the email the receipient is listed with <> example: Reidar
<[email protected]>
This fails when sending.
If I change the receipient to Reidar ([email protected]) it works OK.
And it seenms that I can't change from < >to () by code.
(I know that I could use vb.net, but in this case I want to use VB6)
regards
reidarT