Email Button Outlook
Email Button Outlook
epil3f
Posts: 1Questions: 0Answers: 0
Hello there
I have a table with Colvis and Datetools
I created a button called "Email to Outlook"
Then when the user clicks: open outlook window with the table and filters(with ... as create a pdf)
I know that's possible
[code]
function OpenOutlookDoc()
{
try
{
var outlookApp = new ActiveXObject("Outlook.Application");
var nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add('IPM.Note.FormA');
mailItem.Subject="a subject test";
mailItem.To = "an@email.here";
mailItem.HTMLBody = "bold";
mailItem.display (0);
}
catch(e)
{
alert(e);
// act on any error that you get
}
}
email
[/code]
now. How can i put it in the datatable?
Thank You!
I have a table with Colvis and Datetools
I created a button called "Email to Outlook"
Then when the user clicks: open outlook window with the table and filters(with ... as create a pdf)
I know that's possible
[code]
function OpenOutlookDoc()
{
try
{
var outlookApp = new ActiveXObject("Outlook.Application");
var nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add('IPM.Note.FormA');
mailItem.Subject="a subject test";
mailItem.To = "an@email.here";
mailItem.HTMLBody = "bold";
mailItem.display (0);
}
catch(e)
{
alert(e);
// act on any error that you get
}
}
[/code]
now. How can i put it in the datatable?
Thank You!
This discussion has been closed.