How to add an attachment to Email ? #256
tmeltdowner
started this conversation in
General
Replies: 1 comment 1 reply
-
|
EmailAttachment is your friend within EmailHeader. I should probably add parameter to Email as well. Email {
EmailHeader {
EmailFrom -Address 'x'
EmailTo -Addresses "xxx"
EmailServer -Server 'mxxx -UserName 'xxxx' -Password 'xxxx' -PasswordAsSecure -PasswordFromFile
EmailOptions -Priority High -DeliveryNotifications Never
EmailSubject -Subject 'This is a test email'
EmailAttachment -FilePath "...."
}
EmailBody -FontFamily 'Calibri' -Size 15 {
EmailText -Text "Hello ", $UserNotify, "," -Color None, Blue, None -Verbose -LineBreak
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I don't want to attach the content in the email to the file (attachself) but another file.
Beta Was this translation helpful? Give feedback.
All reactions