Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: Uid assigned Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jvinis
Newbie
Newbie


Joined: 20 May 2008
Online Status: Offline
Posts: 18
Posted: 22 May 2008 at 1:47am | IP Logged Quote jvinis

How can i get the Uid assigned from the mailserver to the message i have just sent ?

Thanks
Back to Top View jvinis's Profile Search for other posts by jvinis
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 22 May 2008 at 5:00am | IP Logged Quote Alex

UID is a value assigned by the mail server to the message which has been put into a certain folder. This happens when the message gets delivered. For instance, if you send a message to two recipients (and the message was delivered to both of them), UID values will be different. UID is unique only on folder level (if you move message into another folder, UID will be different). And UID makes no sense for messages you send because they have no UID. UID values get assigned to them only when they get delivered to the end recipient's mailbox.

However, mail messages also have another value - Message-ID. Message-ID is assigned to the message when it gets sent and remains the same if the message gets moved between folders, etc. To find out Message-ID of the message just sent, simply read Smtp.Message.MessageID property value after sending.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide