I had setup everything correctly following the steps, my email had been verified.
But when i use the reply function inside my application, it prompt me error.
Error while processing the request! javax.mail.MessagingException: 5.2.252 SendAsDenied;
helpdesk2@xxx.com not allowed to send as
support@xxx.com; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Cannot submit message. 0.35250:C83B0000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:6E370000, 1.36674:0E000000, 1.61250:00000000, 1.45378:73370000, 1.44866:14020000, 16.55847:7C1C0000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140F38971300103100000000, 20.50032:140F38978317000000000000, 0.53414:140F3897, 0.35180:00000000, 255.23226:140F3897, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0F000000, 0.35250:0A004080, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:6A000000, 1.36674:32000000, 1.61250:00000000, 1.45378:6F000000, 1.44866:01000000, 16.55847:E5000000, 17.43559:00000000F8030000000000005D00000000000000, 20.52176:140F3897130010104B000000, 20.50032:140F38978317000003000136, 0.53414:50000000, 0.35180:4800D13D, 255.23226:0201DA36, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:6A000000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:6F000000, 0.38698:05000780, 1.41134:46000000, 0.37692:01000000, 0.44092:01000000, 0.40348:86000000, 0.34608:01000000, 0.55056:86000000, 0.42768:09000000, 0.56112:86000000, 0.52807:2F840100, 1.41134:46000000, 7.36354:0100003936E1FBE50F010480, 4.33016:DC040000, 7.40748:0100003936E1FBE45A000100, 7.57132:00000000000000005A000100, 4.39640:DC040000, 1.63016:32000000, 8.45434:EFD71DE82740674EA76225A9AC404AE201040480, 1.46798:04000000, 5.10786:0000000031352E32302E353934342E3031393A545955505230334D42373131303A37666666366235662D346438382D343639392D386239372D6436653735353034616366373A3132373632303A2E4E4554204672616D65776F726B20342E382E393033322E30001000000000, 7.51330:A20CC1AB85EFDA084F000000, 0.39570:0F010480, 1.55954:0A000000, 0.49266:02000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:02000000, 1.56562:00000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:06000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 1.33010:32000000, 2.54258:DC040000, 255.1750:C6000000, 255.31418:0A002D67, 0.22753:03000336, 255.21817:DC040000, 0.64418:0A003267, 4.39842:DC040000, 0.41586:D0000000, 4.60547:DC040000, 0.21966:0A003267, 4.30158:DC040000[EndDiagnosticData] [Hostname=TYUPR03MB7110.apcprd03.prod.outlook.com]