Skip to content

mailing_comment_set ​

php
bool mailing_comment_set( number $nr_wysylki , string $komentarz )

Saves $komentarz as the comment for mailing $nr_wysyłki. Replaces any existing comment.

Example:

php
$set_comment = mailing_comment_set(29, 'This is an example comment
for mailing 29');

if ($set_comment == true) {
echo 'Comment added';
} elseif ($set_comment == false) {
echo 'Something went wrong';
}

Result:

Comment added