Email to anyone / use SMTP from webshop
I have a requirement to send an e-mail to anywhere (SendTo is a input) from webshop, very simula to email.jsp but need SendTo as additional input. Basis has setup SMTP which works / tested by SBWP. Could someone please advise me how to implement for this requirement (sample code will be a big help if possible)? Are there some kind of SMTP java APIs I can use? Or Is it possible to dynamic-change the address set in lwc in XCM based on the SendTo input? Any advice/suggestions?
Thsank you so much in advance, Jin