I'm trying to track down what this does:
$messageID = $headers["message-id"];
if ($messageID) $messageID = substr(substr($messageID, 1), 0,
strlen($messageID)-2); else $messageID = "mid:".$id; $result[$id]->messageID = $messageID; }
I see $messageID in a lot of places, while I see messageID(without a variable $ identifier) in other places.
What is "messageID" for?
Found in: /public_html/webmail/program/lib/imap.inc /public_html/webmail/program/steps/addressbook/func.inc $message_id = $headers->messageID; /public_html/webmail/program/steps/mail/compose.inc $_SESSION['compose']['reply_msgid'] = $REPLY_MESSAGE['headers']->messageID; /public_html/webmail/program/steps/mail/func.inc $message_id = $headers->messageID;
What is "messageID" for?
4.6.1. MESSAGE-ID / RESENT-MESSAGE-ID
This field contains a unique identifier (the local-part
address unit) which refers to THIS version of THIS message.
The uniqueness of the message identifier is guaranteed by the
host which generates it. This identifier is intended to be
machine readable and not necessarily meaningful to humans. A
message identifier pertains to exactly one instantiation of a
particular message; subsequent revisions to the message should
Standard for ARPA Internet Text Messages each receive new
message identifiers.
(According to RFC 822)
Every well formed mail message got a Message-ID in his header, like this: Message-ID: 756f35140512070926l6377d071kd8850e3b85350663@mail.gmail.com This is used by smtp servers and mail agents to identify and process messages. The $ is for variables, in the case $headers->messageID the variable is $headers, who is also a object and messageID is a property of the object $headers.
Eduardo P de Sousa www.modulo.br
----- Original Message ----- From: Geuis Teses To: dev@lists.roundcube.net Sent: Wednesday, December 07, 2005 3:26 PM Subject: definition of messageID?
I'm trying to track down what this does:
$messageID = $headers["message-id"];
if ($messageID) $messageID = substr(substr($messageID, 1), 0,
strlen($messageID)-2); else $messageID = "mid:".$id; $result[$id]->messageID = $messageID; }
I see $messageID in a lot of places, while I see messageID(without a variable $ identifier) in other places.
What is "messageID" for?
Found in: /public_html/webmail/program/lib/imap.inc /public_html/webmail/program/steps/addressbook/func.inc $message_id = $headers->messageID; /public_html/webmail/program/steps/mail/compose.inc $_SESSION['compose']['reply_msgid'] = $REPLY_MESSAGE['headers']->messageID; /public_html/webmail/program/steps/mail/func.inc $message_id = $headers->messageID;