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
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
TMapi
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TMapi
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
>
>
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
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
TMapi
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...
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...