Mail Merge

ryanatworkryanatwork Member Posts: 47
Hi All,

Has anyone found a way of sending an attachment with a word document as the body of an email when doing a Mail Merge ?

Cant get around it !

TIA,

Cheers,
R

Comments

  • SD-JRSD-JR Member Posts: 94
    Hi,

    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.
    Regards,

    Ger
    Simply Dynamics Ltd
    skype: gf.simplydynamics
    Web: www.simplydynamics.ie
  • ryanatworkryanatwork Member Posts: 47
    Hi SD-JR,

    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 ?
  • SD-JRSD-JR Member Posts: 94
    Hi Ryan,

    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
    Regards,

    Ger
    Simply Dynamics Ltd
    skype: gf.simplydynamics
    Web: www.simplydynamics.ie
Sign In or Register to comment.