Skip to main content

Send NTLM email

Sends an email using NTLM authentication (Windows only).

Category: Email Communication · Group: Desktop · Activity name: SendNtlmEmail

The SendNtlmEmail activity in the designer

Example

SendNtlmEmail("<from>", host="<host>", port=0, username="<username>", password="<password>", enableSsl=True, useDefaultCredentials=False, ignoreCertificateErrors=False, to=[], cc=[], bcc=[], subject="<subject>", body="<body>", attachments=[], sendEmailAsHtml=True, bodyTemplateFilePath="<bodyTemplateFilePath>", tokens={})

Inputs

NameTypeRequiredDefaultDescription
HoststringHost
PortintegerPort
UsernamestringUsername
PasswordstringPassword
Enable SSL (TLS)booleanEnable SSL (TLS)
Use default credentialsbooleanFalseUse default credentials
Ignore certificate errorsbooleanFalseAccept any TLS certificate from the SMTP server, including hostname mismatches, expired or untrusted chains. Only enable this for trusted internal mail gateways with known-broken certificates; it disables TLS validation for this send.
FromstringYesFrom
To recipientsarrayTo recipients
Cc recipientsarrayCc recipients
Bcc recipientsarrayBcc recipients
SubjectstringSubject
BodystringBody
Attachments file pathsarrayAttachments file paths
Send email as HTMLbooleanSend email as HTML
Body template file pathstringBody template file path
Tokens (Placeholders)objectTokens (Placeholders)