Platform SDK: CDO 1.2.1 |
The Send method sends the message to the recipients through the messaging system.
objMessage.Send( )
The Send method saves all changes to the message in the messaging system and moves the message to the current user's Outbox folder. Messaging systems retrieve messages from the Outbox and transport them to the recipients. After it is transported, a message is removed from the Outbox and deleted.
You must compose your new messages in your Outbox. The Send method only deals with messages located in the Outbox and returns CdoE_NO_ACCESS for any attempt to create a message in the Inbox.
The Send method invalidates the composed Message object but does not remove it from memory. The programmer should Set the invalidated object to Nothing to remove it from memory, or reassign it to another message. Attempted access to a sent message results in a return of CdoE_INVALID_OBJECT.