Michael Fox
2017-10-10 02:26:52 UTC
I'm using the following to retrieve the message subject header:
$subj = $entity->head->get('Subject');
First is there a better way?
Second, what I get back always has "#012" added to the end. For example, if
the actual subject is "foo", then the above get() method returns "foo#012".
Why is this extra "#012" appearing? And, is there a way to get just the
subject?
Thanks,
Michael
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/
$subj = $entity->head->get('Subject');
First is there a better way?
Second, what I get back always has "#012" added to the end. For example, if
the actual subject is "foo", then the above get() method returns "foo#012".
Why is this extra "#012" appearing? And, is there a way to get just the
subject?
Thanks,
Michael
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/