Scoped GlideEmailOutbound - setSubject(String subject)

Sets the email's subject line.

Table 1. Parameters
Name Type Description
subject String Text for the subject line.
Table 2. Returns
Type Description
void

email.setSubject('Important Issues to discuss');