Adding a Button for Quick Email

Is it possible to create a button in Outlook that when clicked would start a new message automatically assigned to a person?
FilogixAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kg69Commented:
Create a macro to send the mail message:
http://www.experts-exchange.com/Programming/Misc/Q_21927384.html

Then right mouse click on the toolbar area of outlook go to macros and drag and drop your macro where you want it.
0
Leon TealePenetration TesterCommented:
hmm i think its possible to set up a template for it...are you office 03 or 07?
0
kg69Commented:
By right click then select customize.. sorry thought I had that in. :)
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

FilogixAuthor Commented:
OK, I created a macro, then a toolbar and added the macro to that toolbar.  When I click it I get nothing.  Here is the code i edited for the macro.

Sub Email_TS_Incident_CoOrdinators()
Dim objMail As Outlook.MailItem
Set objMail = Application.CreateItem(olMailItem)

With objMail
  ' By default person will be added
  ' to the To area
  .Recipients.Add ("TSIncidentCoordinators@filogix.com")
  .Subject = "Incident Report" & Date & Time
  ' Touching body makes it an RTF message
  .Body = "Incident report created at:" & Date & Time
 
  ' Touching HTMLBody makes it HTML
  '.HTMLBody = "This is the body in HTML."
 
End With

' Send it
objMail.Send

' Display it
' objMail.Display

Set objMail = Nothing
End Sub
0
kg69Commented:
=) Well I tested myself and looks like it works well I ended up emailing that address...Doh! should have changed it. :) Hehe
It is simply emailing without you seeing anything. Check your sent items and you should see the message.  If you want to edit the body and put more details in, I would tie this behind a form and just have the macro call the form. Let me know if you need code to do that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FilogixAuthor Commented:
Had to remove the remarks coding so it would not autosend.  everything is working fine now.  Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.

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.