We did this sort of thing with no problems:
o=Createobject("outlook.application")
oitem=o.createitem(0)
oitem.subject=csubject 
oitem.to etc..
oitem.Display

Regards


Mark

-----Original Message-----
From: ProfoxTech <profoxtech-boun...@leafe.com> On Behalf Of 
wes.wil...@yahoo.com
Sent: Wednesday, October 16, 2019 12:58 PM
To: profoxt...@leafe.com
Subject: Outlook automation

We are creating invoices in PDF form and then emailing them via Outlook With 
OutMail .To = lcEmail .Subject = lcSubject .HTMLBody = Message
 .Attachments.Add(xinvoice)
 .Display .Send
Endwith
Our client wants to be able to add to the body of the email but Outlook will 
not stay up.  Just flashes by on ".Display", Is there a way to keep Outlook up? 
 If I do not issue the ".Send" command, the email will reside in Outlook 
drafts.  Client does not want this.
Wes



--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives This message: 
https://leafe.com/archives/byMID/344535987.2293894.1571227078...@mail.yahoo.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.
Report [OT] Abuse: 
http://leafe.com/reportAbuse/344535987.2293894.1571227078...@mail.yahoo.com
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/cwxp123mb2614610d361e3e23daf79085f9...@cwxp123mb2614.gbrp123.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to