SendEmailButton not shown

Stimulsoft Reports.JS discussion
Post Reply
mrapi
Posts: 290
Joined: Sat Dec 20, 2008 1:08 am

SendEmailButton not shown

Post by mrapi »

Hi
I'm using Stimulsoft Reports.JS 2026.1.2 version but I can't show the SendEmailButton in viewer,using next code:

Code: Select all

var options = new Stimulsoft.Viewer.StiViewerOptions();

options.toolbar.showSendEmailButton = true;
options.email.defaultEmailAddress = "recipient_address@gmail.com";
options.email.defaultEmailSubject = "New Invoice";
options.email.defaultEmailMessage = "Please check the new invoice in the attachment";

const viewer = new Stimulsoft.Viewer.StiViewer(options, 'StiViewer', false);
I've attached a sample project,thanks
Attachments
test.zip
(59.09 KiB) Downloaded 21 times
Lech Kulikowski
Posts: 7685
Joined: Tue Mar 20, 2018 5:34 am

Re: SendEmailButton not shown

Post by Lech Kulikowski »

Hello,

Please check our samples:
https://github.com/stimulsoft/Samples-R ... -for-React

Thank you.
Attachments
Screenshot 2026-01-26 225354.png
Screenshot 2026-01-26 225354.png (232.77 KiB) Viewed 1855 times
mrapi
Posts: 290
Joined: Sat Dec 20, 2008 1:08 am

Re: SendEmailButton not shown

Post by mrapi »

Hi
tried but in my project the button it is not shown and the code seems the same
I've solved using a custom button viewtopic.php?t=63918
thanks
Lech Kulikowski
Posts: 7685
Joined: Tue Mar 20, 2018 5:34 am

Re: SendEmailButton not shown

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply