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;