snooflehammer
asked on
Automate forwarding emails in Outlook via a custom button
I need to automate a task in Outlook.
I need a button in an email form to open an email in a new forwarding form, change the From: field to another account and add a particular address in the To: field then send the message. This will change a 6 click & 1 keystrake operation into 1 click.
I expect this can be done with VB code assigned to a custom button the the ribbon or the Quick Access Toolbar
Thanks in advance
I need a button in an email form to open an email in a new forwarding form, change the From: field to another account and add a particular address in the To: field then send the message. This will change a 6 click & 1 keystrake operation into 1 click.
I expect this can be done with VB code assigned to a custom button the the ribbon or the Quick Access Toolbar
Thanks in advance
ASKER
Thank you for your response Bill. This almost works. The message does get flagged as Forwarded & it does get sent but Exchange bounces it straight back with "You do not have the permission to send the message on behalf of the specified user"
If I do it manually, the forwarded message is received.
If I do it manually, the forwarded message is received.
Please describe the process you use to do it "manually".
»bp
»bp
ASKER
Open the orignal mail.
Click Forward
Click the From button and select another email account
Tab into the To field and pick the recipient from the previously typed email list
Ctrl + Enter to send
Click Forward
Click the From button and select another email account
Tab into the To field and pick the recipient from the previously typed email list
Ctrl + Enter to send
Is the new sender you want to use also an email account in that Outlook profile?
»bp
»bp
ASKER
yes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That worked. Good job. Thank you for your persistence
Welcome, glad that was helpful!
»bp
»bp
Here's a starting place for the VBA macro that you could use to do the forward, give this a try there. Adjust the constants near the top of the procedure.
Open in new window
»bp