[Nexus One Android Development] Turge:
eViL.. I've yet to succeed in sending an email from my Exchange account via ActiveSync on either the Desire HD or Desire Z ROMs.

NXSense 1.21 works fine.

Here are the logs from 1.21 which was successful:

D/EAS_AppSvc(10822): 06021143 MailCommandHandler: MSG_MAIL_SEND_MAIL
V/EAS_NOTIFI(10822): cleanSendErrorNotification
D/SendErrorNotification(10822): 06021143 clearNotification
D/EAS_NOTIFI(10822): onReceive End
D/EAS_AppSvc(10822): 06021143 checkIsMailSent(): msgID = 32
D/EAS_SyncEngine(10822): 06021143 > sendMail()
D/EAS_SyncEngine(10822): 06021143 Send mail temp file : /data/data/com.htc.android.mail/app_mail_temp/1287105779378
D/dalvikvm(10822): GC_FOR_MALLOC freed 7852 objects / 387560 bytes in 55ms
D/EAS_HTTP(10822): 06021143 create httpclient which pass all certifivate
D/EAS_SyncEngine(10822): 06021143 sendMail success
D/EAS_HTTP(10822): 06021143 create httpclient which pass all certifivate
D/EAS_SyncEngine(10822): 06021143 < sendMail(), return: 200

and Desire HD 0.8.1 which was unsuccessful:

D/ExchangeServer( 1652): 06021143 > sendMail: 1, 13, 5
D/MailSender( 1652): [Acc 1]> getSendMailItem: 13, 5
D/MailSender( 1652): [Acc 1]> getOutMailBudle: 5, 13
D/MailSender( 1652): [ NA ]< getOutMailBudle
D/MailSender( 1652): [ NA ]> preprocessOutMail
D/MailSender( 1652): [ NA ]smartCommand: 0
D/MailSender( 1652): [ NA ]< preprocessOutMail
D/MailSender( 1652): [Acc 1]getSendMailItem: 0, 13, 0, false
D/MailSender( 1652): [Acc 1]< getSendMailItem
D/EASAppSvc( 1652): [Acc 1]Receive:sendMail(): 1
D/EASRequestController( 1652): [Acc 1]MailSendRequestController.addRequest:account:1, cmd:50, srcType:3, priority:3, par
ameter:Bundle[{parameter.mail.send.item=com.htc.android.mail.eassvc.pim.EASMailSendItem@4793aa78, parameter.mail.send.re
try_count=0, parameter.mail.meetingResp.cmd=0}]
D/EASRequestController( 1652): [Acc 1]> MailSendRequestController: 50
D/EASEventBroadcaster( 1652): [ NA ]broadcastMailCleanNotification(send_mail)
D/EASRequestController( 1652): [Acc 1]checkQueue(): empty
V/EAS_NOTIFI( 1652): cleanSendErrorNotification
D/SendErrorNotification( 1652): 06021143 clearNotification
D/ExchangeServer( 1652): 06021143 < sendMail
D/EAS_SyncManager( 1652): [Acc 1]sendMail: 13, 1, 0
D/MailSender( 1652): [Acc 1]> sendMail(1)
D/WifiService( 857): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 binder=android.os.BinderProxy@47d4f700}
D/WifiService( 857): enable and start wifi due to updateWifiState
D/MailSender( 1652): [ NA ]add attachment: 0
D/MailSender( 1652): [Acc 1]sendMail(1) start
D/MailSender( 1652): [Acc 1]sendMail(1) finish
D/MailSender( 1652): [Acc 1]sendMail(1) success
D/EAS_HTTP( 1652): [Acc 1]createHttpClient()
D/EAS_HTTP( 1652): [Acc 1]create httpclient which pass all certifivate
D/MailSender( 1652): [Acc 1]< sendMail(1): 200
D/MailList( 1652): 06021143 startAsyncQuery>_internaldate,desc,null
D/EAS_HTTP( 1652): [Acc 1]createHttpClient()
D/EAS_HTTP( 1652): [Acc 1]create httpclient which pass all certifivate
D/EASRequestController( 1652): [Acc 1]< MailSendRequestController: 50

I don't know if it's because of the new base, but as you can see, on the Desire HD, D/EAS_SyncEngine is never called and the process which appears to actually send the email is never executed. Thoughts?