This is done as standard in Nav Interactions. (ver 5+ and possibly 4+)
On Cronus company use one of the interaction types set
correspondence type to email.
wizard action to either import or open.
and add you mail merge doc by clicking on the attachment panel.
If you want to try move this code to somewhere else you should be able to debug and replicate.
Am not a developer so can give you the specific code area but I think if you trace through from C5054 you will find it has been using C400 SMTP mail. There are numerous posts on MIBUSO about SMTP mail and in short you can't trap/open thiese mails prior to send (my understanding).
If the email is not in your outlook (mail client) sent items folder then it has been sent SMTP.
You can try change the function to use C397 email which will launch the email merged before send and the user has to confirm/modify and send.
Should be a few posts on this with more coding detail in the forum.
Comments
This is done as standard in Nav Interactions. (ver 5+ and possibly 4+)
On Cronus company use one of the interaction types set
correspondence type to email.
wizard action to either import or open.
and add you mail merge doc by clicking on the attachment panel.
If you want to try move this code to somewhere else you should be able to debug and replicate.
Ger
Simply Dynamics Ltd
skype: gf.simplydynamics
Web: www.simplydynamics.ie
Thanks for the reply.
I have found the code where it is done - in C5054 - Word Management.
As soon as the we get to the line
wrdDoc.MailMerge.Execute
The mail is sent and I cannot do anything about it.
Any ideas ?
Am not a developer so can give you the specific code area but I think if you trace through from C5054 you will find it has been using C400 SMTP mail. There are numerous posts on MIBUSO about SMTP mail and in short you can't trap/open thiese mails prior to send (my understanding).
If the email is not in your outlook (mail client) sent items folder then it has been sent SMTP.
You can try change the function to use C397 email which will launch the email merged before send and the user has to confirm/modify and send.
Should be a few posts on this with more coding detail in the forum.
Thanks
Ger
Simply Dynamics Ltd
skype: gf.simplydynamics
Web: www.simplydynamics.ie