Hello,
I'm send mail thru MAPI in OL2002 with attachments, receiptent name, subject
and body message. All these fields are populating correctly and I can send
the message, howover - the message does not leave my system and moves to the
inbox and message could not ne delivered by an email account.
When I check the email properties (dbclick the email address) the email
properties form show the "Email Type" as Internet type with the receipient
address.
When I change this to Custom type "SMTP" the email is then sent out without
any problems. If I send mail in the normal manner through OL, I have no
problems and the email properties are defaulted to SMTP.
So my question: Is this a problem in the local settings? In the MAPI code?
In the custom form I'm using? Can I set the email type somewhere in MAPI to
ensure the clients default settings are utilized?
FYI: the default email account is SMTP, it's a local PC and not connected to
exchange server.
Thanks very much for your feedback and thoughts.
Sue Mosher [MVP-Outlook] - 22 Oct 2004 15:08 GMT
It might help if you posted your code, since it's impossible to tell from
your message how you're creating the item or even whether you're using
Simple MAPI or Extendeed MAPI. There is a newsgroup specifically for general
Outlook programming issues "down the hall" at
microsoft.public.outlook.program_vba or, via web interface, at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public
.outlook.program_vba

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hello,
> I'm send mail thru MAPI in OL2002 with attachments, receiptent name,
[quoted text clipped - 22 lines]
>
> Thanks very much for your feedback and thoughts.