diff -r ecf6a73a9186 -r 60a8a215b0ec email/pop3andsmtpmtm/clientmtms/inc/SMTPCMDS.H --- a/email/pop3andsmtpmtm/clientmtms/inc/SMTPCMDS.H Tue Oct 05 13:58:47 2010 +0530 +++ b/email/pop3andsmtpmtm/clientmtms/inc/SMTPCMDS.H Tue Oct 19 11:30:16 2010 +0530 @@ -39,7 +39,11 @@ If an Internet connection has already been established by another client, then this function may fail with KSmtpNoMsgsToSendWithActiveSettings if none - of the messages specified in aSelection match the IAP currently in use. */ + of the messages specified in aSelection match the IAP currently in use. + + Command KSMTPMTMSilentlySendOnNextConnection is also available to silently connect + to the network. + */ KSMTPMTMSendOnNextConnection, /** Creates a new message. */ KSMTPMTMCreateNewEmailMessage, @@ -50,7 +54,21 @@ /** Creates a new forwarded message as an attachment. */ KSMTPMTMCreateForwardAsAttachmentEmailMessage, /** Creates a new message-receipt message. */ - KSMTPMTMCreateReceiptEmailMessage + KSMTPMTMCreateReceiptEmailMessage, + + /** Send messages on next connection silently without prompting the user. + + The first entry in aSelection specifies the SMTP service entry that is to + be used to send the email messages. aSelection may contain only one entry + ID. The SMTP MTM will append the Ids of all "ready" email messages which exist + in the outbox that match the IAP of the specified SMTP service. Whether an + email message is "ready" is determined from its TMsvEntry::SendingState() + flag. + + If an Internet connection has already been established by another client, + then this function may fail with KSmtpNoMsgsToSendWithActiveSettings if none + of the messages specified in aSelection match the IAP currently in use. */ + KSMTPMTMSilentlySendOnNextConnection }; #endif