Change From Address using mailmerge in Word

Posted on 2008-10-15
Medium Priority
Last Modified: 2008-10-27
From within code I make a document using merge fields. This document has to been send by email using Microsoft Word. I have allready found how to send the email, but I want to change the From Address using code. How can I do that from within code?
Question by:ACAE

Expert Comment

ID: 22722955
What method are you using to send the mail from word?  SMTP?
LVL 15

Expert Comment

ID: 22727021
So you are using an Email Template?
 and you want the email address that it comes from to be not specific to the user running the merge, but rather another user.

I've seen it done, but it involved unsupported changes to the aspx pages and a workflow.

I would play with the WorkFlows and see if you can add a button so that a manual change could be made.

Accepted Solution

ACAE earned 0 total points
ID: 22776932
I have created a DLL that takes control over my outlook-session.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question