AXSoft SMTPSock - SenderName

Description

Returns/sets the name of the sender of the email message

Type

Property

Syntax

object.SenderName [ = String ]

Parameter Type Description
  String The sender's name

Return Type

String

Remarks

This property is optional. If a value is specified then the name will appear on the "From:" field of the email message along with the sender's email address. The format in which it will be shown is:
"From: Senders Name <email address>"

Note that if the string contains a newline (CRLF) in the string, then the newline character plus any text following the newline character will be truncated.