need help w/ sending an e-mail -- outlook 2007 addin

Status
Not open for further replies.
T

TechRetard

I wrote an outlook 2007 add-in that brought up a WPF window w/ fields to fill

out, and when you clicked the create e-mail button, it created an e-mail

based on the contents of the form. The problem lies in that it is bringing up

almost a "generic" e-mail -- it doesn't have my signature on it, if Microsoft

CRM is loaded it won't have the 'track in crm' listed -- it's almost as if it

doesn't know it's me sending it, but when i send the e-mail, it always sends

from my default account (which is good). Any help??

Outlook.Application App1 = new Microsoft.Office.Interop.Outlook.Application();

Outlook.MailItem mail1 = (Outlook.MailItem)

App1.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem);
 
K

Ken Slovak - [MVP - Outlook]

If this is in an Outlook addin use the Outlook.Application object passed to

you, don't use New to create a new instance of the application.

CRM no one here will be able to help with, I doubt there's much if any

expertise on that here.

"TechRetard" <TechRetard> wrote in message

news:48534255-70B8-41E3-8B9D-896A5798522E@microsoft.com...
> I wrote an outlook 2007 add-in that brought up a WPF window w/ fields to
> fill
> out, and when you clicked the create e-mail button, it created an e-mail
> based on the contents of the form. The problem lies in that it is bringing
> up
> almost a "generic" e-mail -- it doesn't have my signature on it, if
> Microsoft
> CRM is loaded it won't have the 'track in crm' listed -- it's almost as if
> it
> doesn't know it's me sending it, but when i send the e-mail, it always
> sends
> from my default account (which is good). Any help??

> Outlook.Application App1 = new
> Microsoft.Office.Interop.Outlook.Application();

> Outlook.MailItem mail1 = (Outlook.MailItem)
> App1.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem);

>
 
S

Sue Mosher [MVP]

If you want the signature to display, create the message, return its

Inspector with GetInspector -- that should cause the signature to be inserted

-- and then concatenate or insert your new content into the existing message

content.

Sue Mosher

"TechRetard" wrote:


> I wrote an outlook 2007 add-in that brought up a WPF window w/ fields to fill
> out, and when you clicked the create e-mail button, it created an e-mail
> based on the contents of the form. The problem lies in that it is bringing up
> almost a "generic" e-mail -- it doesn't have my signature on it, if Microsoft
> CRM is loaded it won't have the 'track in crm' listed -- it's almost as if it
> doesn't know it's me sending it, but when i send the e-mail, it always sends
> from my default account (which is good). Any help??

> Outlook.Application App1 = new Microsoft.Office.Interop.Outlook.Application();

> Outlook.MailItem mail1 = (Outlook.MailItem)
> App1.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem);

>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
I Outlook for Mac 2019 using on desktop and laptop IMAP on both need help with folders Using Outlook 1
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
S.Champ Please help? I've imported a random workcalendar I dont even know who's. Can I undo it? and then I need to re-sync the google one again. Its a mess:( Using Outlook 2
L Need help modifying a VBA script for emails stuck in Outbox Outlook VBA and Custom Forms 6
Marc2019 Need help please! Cannot Setup my outlook email account on my Mac Outlook 2011 Using Outlook.com accounts in Outlook 2
C need help setting up outlook first time Using Outlook 1
N Need help syncing contacts to iPhone X Using Outlook 8
S Error using AddressEntry.GetContact - need help Outlook VBA and Custom Forms 2
E Outlook 2010 need help with rules Using Outlook 0
B Need Help - Willing to pay Outlook VBA and Custom Forms 10
J Need Help with Contacts VBA Outlook VBA and Custom Forms 1
H Need help setting up GetFolderPath-Makro with Vodafone IMAP Mail-Account Outlook VBA and Custom Forms 0
T Need help with finding/updating task Outlook VBA and Custom Forms 1
Denis Hi everyone!!! Need some help with Excel to Exchange Calendar??PLEASE>>> Using Outlook 1
E Need Help on Setting up a repeated Reminder on Task with Reoccurence Every Year Using Outlook 6
B Need Help Creating Email Based on Subject w Address in Body Outlook VBA and Custom Forms 1
G Need help configuring a PRF for Outlook 2010 and 2013 Using Outlook 0
K Excel Import Option: Need Help Updating Existing Records BCM (Business Contact Manager) 0
K Need help concerning emails linking to BCM. BCM (Business Contact Manager) 0
J Need help with installation of BCM in Outlook2013 BCM (Business Contact Manager) 5
F Outlook 2010 - Need help with a custom field. Using Outlook 3
D Need Help with Script. Keep getting Runtime Error 438 BCM (Business Contact Manager) 4
R Need help getting BCM to work with my Outlook 2014 Using Outlook 4
L Need help getting calendar/contacts/tasks/notes back! Using Outlook 3
R [VBA] complicated(?) outlook events - need help with code Using Outlook 15
P Need help/Gmail accounts show separately/Outlook 2013 Using Outlook 0
J Need Help Extracting Email Content into Excel Specifically the Attachment Name Using Outlook 3
A Need Help with BCM2010 Sharing on outlook 2013 Scenario! BCM (Business Contact Manager) 1
C Need Help with Simple Code Correction Using Outlook 11
W I Need help with vb.net and outlook 2010 Using Outlook 2
A My move to MS is not going too well: Need Help !!! Using Outlook 14
M Need help with combo boxes in messages! Using Outlook 10
D Need help understanding which pst-file to use! Using Outlook 0
U Need a help please Outlook 2007 crashing Using Outlook 2
Z Need Help Outlook 2007 inbox and address book view Using Outlook 2
B Need help adding a background color to the compact list items in Month view. Using Outlook 1
B Need help adding an image next to the Month Name in the header. Using Outlook 1
B Ok - a complicated one - but really need help (auto formatting) Using Outlook 9
B OUTLOOK 2000, Need Help ! Outlook Wishlist 1
P To Use BCM or not...I need help BCM (Business Contact Manager) 1
T Need help making RULE to prepend email SUBJECT Using Outlook 3
V Need help on configuring Outook 2003 Rules and Alerts... Using Outlook 2
X business owner in dire need of help outlook is not syncin my contacts! Using Outlook.com accounts in Outlook 2
D Need email verification for international emails, help? BCM (Business Contact Manager) 2
S MAcro - Need help in getting the recipients in to filed / cc field toput in an array Outlook VBA and Custom Forms 4
K Need help Publishing a new Task form! Outlook VBA and Custom Forms 1
A Need help in creating a mass emailing plugin Outlook VBA and Custom Forms 1
B Need to Copy an email to a subfolder Outlook VBA and Custom Forms 2
D Do I need Exchange Add-In? Using Outlook 6
K Need to convert .mmf file to .pst format Outlook VBA and Custom Forms 7

Similar threads

Top