cancel
Showing results for 
Search instead for 
Did you mean: 

Email to anyone / use SMTP from webshop

Former Member
0 Kudos

Hello everyone,

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Jin,

Please go through the coding of ' EmailAction' , you will get an idea.

Regards,

Shanto Aloor

Former Member
0 Kudos

Hello Shanto,

Thank you so much for your quick response. I'm looking into it now, I think here what I need to do:

config lwc in b2b XCM

create ZEmailAction and zemail.jsp for To field

modifiy config_lwe_b2b.xml

Please let me know if there is anything else I need to do?

Also I have a hardtime to find EmailAction java file (my nwds java search is not working, only find src.zip), could you please tell me what the path it has?

Thanks alot, Jin