Página 1 de 1

TMapi

Publicado: Lun Sep 20, 2010 3:47 pm
por Maarten Roos
When I try to use the tmapi class for sending email with clients mailsoftware I receive an error from our mail system.
When I look to the email address send, I notice the e-mailtype has filled in the email address as Internet type? No smtp, but email address?

When I use the example SimpleMapi, I got same problem?
WITH OBJECT ::oMapi
:Create()
If :Logon()
:cFromName := cNaam
:cFromAddress := cEmail
:cSubject := cSubject
:cMessage := cBody
:AddReceipt( 'm.roos@ecem.com' )
:Send()
:Logoff()
Endif
END

TMapi

Publicado: Lun Sep 20, 2010 4:23 pm
por ignacio
Maarten,
Just tested the sample 'SimpleMAPI' and here its working fine with Microsoft
Outlook 2003. Maybe your email client does not support Mapi or has some
problems with it.
> When I look to the email address send, I notice the
> e-mailtype has filled in the email address as Internet type?
> No smtp, but email address?
Sorry but I do not understand what you say. There is no E-mailtype property
on TMapi class. BTW, MAPI uses the default profile, you do not need to
specify any SMTP server.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4c976609$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> When I try to use the tmapi class for sending email with
> clients mailsoftware I receive an error from our mail
> system.
>
> When I look to the email address send, I notice the
> e-mailtype has filled in the email address as Internet type?
> No smtp, but email address?
>
>
>
>
> When I use the example SimpleMapi, I got same problem?
>
>
> WITH OBJECT ::oMapi
> :Create()
> If :Logon()
> :cFromName := cNaam
> :cFromAddress := cEmail
> :cSubject := cSubject
> :cMessage := cBody
> :AddReceipt( 'm.roos@ecem.com' )
> :Send()
> :Logoff()
> Endif
> END
>
>

TMapi

Publicado: Lun Sep 20, 2010 5:28 pm
por Maarten Roos
I have Outlook 2003.
I will test on other machines also...
Quote:Sorry but I do not understand what you say. There is no E-mailtype property on TMapi class. BTW, MAPI uses the default profile, you do not need to specify any SMTP server.

This is what I mean...