Skip to content

mailing_comment_append ​

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

Appends $komentarz to the existing comment for mailing $nr_wysyłki. Returns true if the text was appended, or false otherwise.

Example:

php
$append_comment = mailing_comment_append(29, ' - this text was appended to the comment');

if ($append_comment == true) {
print('text was appended to the comment'."\n");
} elseif($append_comment == false) {
print('something went wrong'."\n");
}

$get_comment = mailing_comment_get(29);
print($get_comment);

Result:

text was appended to the comment
This is an example comment
for mailing 29 - this text was appended to the comment