Problem with prefix of address
Hi Peter,
I think I found a issue:
I have Outlook 2007, but I think that version isn't important.
You can use your example "10 Msg - SendPlainTextMesage". You have to change
this:
97: MapiSession.LogonInfo.UseExtendedMapi := False;
//MapiSession.MapiInfo.ExtendedMAPI;
138: NewMessage.AddRecipients(edtTo.Text, rtTo, False);
//NewMessage.RecipTo := edtTo.Text;
Type address "xx@xx.com". Now press button Show. You can see Outlook's form.
Double click on address and you can see this:
Name: xx@xx.com
E-mail address: xx@xx.com
E-mail type: XX@XX.COM <- here is the error
With UseExtendedMapi = True or
with NewMessage.RecipTo := edtTo.Text or
NewMessage.AddRecipients(edtTo.Text, rtTo, TRUE):
E-mail type: SMTP
Regards
Roman
I think I found a issue:
I have Outlook 2007, but I think that version isn't important.
You can use your example "10 Msg - SendPlainTextMesage". You have to change
this:
97: MapiSession.LogonInfo.UseExtendedMapi := False;
//MapiSession.MapiInfo.ExtendedMAPI;
138: NewMessage.AddRecipients(edtTo.Text, rtTo, False);
//NewMessage.RecipTo := edtTo.Text;
Type address "xx@xx.com". Now press button Show. You can see Outlook's form.
Double click on address and you can see this:
Name: xx@xx.com
E-mail address: xx@xx.com
E-mail type: XX@XX.COM <- here is the error
With UseExtendedMapi = True or
with NewMessage.RecipTo := edtTo.Text or
NewMessage.AddRecipients(edtTo.Text, rtTo, TRUE):
E-mail type: SMTP
Regards
Roman
This discussion has been closed.
Comments
I believe you may have posted this message to the wrong newsgroup .
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
you are right:-), sorry...
Roman
"Nico Cizik (Digital Metaphors)" píše v diskusním príspevku