Mail Merge

ryanatwork
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
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
0
Comments
-
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.0 -
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 ?0 -
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.
Thanks0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions