Sending email with Outlook with Inputs
Posted: Sep 12th, ’21, 21:02
Trying to set up to send an email using Outlook and various inputs. How to I get the Inputs to appear in the Body field Number,Expiry, Sec , Name and Amount.
Also the Email.From does not work.
ThanksJC
^p::
InputBox, Customer
InputBox, number
InputBox, Expiry
InputBox, Sec
InputBox, Name
InputBox, Amount
Outlook := ComObjActive("Outlook.Application")
email := Outlook.Application.CreateItem(0)
email.From := lorrain@canam-ca.com
email.To := "j@ecallontario.com"
email.Body := "Card `n `n Expiry `n `n Sec `n `n Name `n `n Amount $ "
email.Subject := "Payment Info for " Customer
;email.Attachments.Add ;now just need to attach the right files...
email.Display(true)
Also the Email.From does not work.
ThanksJC
^p::
InputBox, Customer
InputBox, number
InputBox, Expiry
InputBox, Sec
InputBox, Name
InputBox, Amount
Outlook := ComObjActive("Outlook.Application")
email := Outlook.Application.CreateItem(0)
email.From := lorrain@canam-ca.com
email.To := "j@ecallontario.com"
email.Body := "Card `n `n Expiry `n `n Sec `n `n Name `n `n Amount $ "
email.Subject := "Payment Info for " Customer
;email.Attachments.Add ;now just need to attach the right files...
email.Display(true)