Associate
Hi,
I am currently trying to set up a script for outlook but my limited skills are leaving me stumped! I imagine its straight forward if you have any half decent skills though, so thought I would ask here!
Basically, at work we have a helpdesk which will kick out email updates to us, but only sends to internal emails. External ones just come to us which we then pass on to an email address located in the subject line (the subject line is just the email address, no other text).
I have found this guide,which is similar to what I want but I just can't get it working. Just need to take the text from the subject and forward the email to it.
At the moment I have:
This tried to send a couple of times and I got undeliverable reports due to permissions. I've changed those but I get nothing being sent (nothing in sent folder which it did earlier). Changed things back to how they were originally and I still get nothing in the sent folder.
Thanks for any help
I am currently trying to set up a script for outlook but my limited skills are leaving me stumped! I imagine its straight forward if you have any half decent skills though, so thought I would ask here!
Basically, at work we have a helpdesk which will kick out email updates to us, but only sends to internal emails. External ones just come to us which we then pass on to an email address located in the subject line (the subject line is just the email address, no other text).
I have found this guide,which is similar to what I want but I just can't get it working. Just need to take the text from the subject and forward the email to it.
At the moment I have:
Code:
Sub HelpdeskRedirect(Item As Outlook.MailItem)
Item.To = Item.Subject
Item.Save
Item.Subject = "Helpdesk Update"
Item.Send
End Sub
This tried to send a couple of times and I got undeliverable reports due to permissions. I've changed those but I get nothing being sent (nothing in sent folder which it did earlier). Changed things back to how they were originally and I still get nothing in the sent folder.
Thanks for any help