Página 1 de 1

For Ignacio regarding tmapi problem...

Publicado: Lun Sep 27, 2010 3:05 pm
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.

For Ignacio regarding tmapi problem...

Publicado: Mar Sep 28, 2010 3:23 pm
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,