Sets the mail notification settings for the mail message.
With support for specifying a character set for email notification other than the default UTF-8 setting, the SetMailNotificationSettings method accepts a language setting optional argument to specify the character set. If the additional element is present and is not "", it is used as the enforced encoding for all outgoing email notifications.
For Windows®, the mail settings argument to this method can be in one of the following forms:
where 1 indicates that "send active" is True for SMTP and MAPI protocols (not required by POP3).
The string values in the configuration setting string are based on the mail transport type (SMTP, MAPI, POP3).
Perl
$MailMsg->SetMailNotificationSettings(config_info);
Perl
use CQPerlExt; my $cqmail = CQMailMsg::Build(); my @SMTPemailsettings = ('SMTP', 'mail.test.ibm.com', 'admin@us.ibm.com', 'John Smith', '1'); my $setmail_success = $cqmail->SetMailNotificationSettings(\@SMTPemailsettings); if ($setmail_success) { print "Email notification successfully set\n"; } else { print "Email notification NOT successfully set\n"; } CQMailMsg::Unbuild($cqmail);