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.

For Ignacio regarding tmapi problem...

Xailer professional forum in English
Responder
Maarten Roos
Mensajes: 126
Registrado: Lun Mar 29, 2010 10:24 am

For Ignacio regarding tmapi problem...

Mensaje por Maarten Roos »

I am receiving error message when replying to your email address (it doesn't exist within the organization).
So I will answer to your questions here:
....
Well I tried to explain in both topics with screenshots. But when I do not add 'SMTP:' in front of senders email address it doesn't get send. Something goes wrong with e-mailtype? So when I try:
WITH OBJECT ::oMapi
:Create()
If :Logon()
:cFromName := cNaam
:cFromAddress := cEmail
:cSubject := cSubject
:cMessage := cBody
:aReceipts := { { "EMS Master", "m.roos@ecem.com", mapiTO }}
:Send()
:Logoff()
Endif
END

It goes... Wrong

But when I do:
WITH OBJECT ::oMapi
:Create()
If :Logon()
:cFromName := cNaam
:cFromAddress := cEmail
:cSubject := cSubject
:cMessage := cBody
:aReceipts := { { "EMS Master", "smtp:m.roos@ecem.com", mapiTO }}
:Send()
:Logoff()
Endif
END

It goes Good

For your testing question...
I receive zero (0) and 'the operation completed succesfully' three times.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

For Ignacio regarding tmapi problem...

Mensaje por ignacio »

Maarten,
Thanks for the info. It seems that on certain MAPI scenarios is necessary to prefix the email addresses with the server type. We will include it on the documentation.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder