Hi When I call AddSMTPServer() it throws a NotImplmentedException in .NET. I am using the PDF-XChange 4 Drivers API v.4.0157 21 Feb, 2009 edition. Here is a sample code:
CPXCPrinter cPrinter = (CPXCPrinter) m_cPrintControl.get_Printer("", "MyPDFPrinter", "<REGCODE>", "<DEVCODE>");
if (cPrinter != null)
{
cPrinter.set_Option("EMail.From", "xxx@xxxxxx.com");
cPrinter.set_Option("EMail.To", "xxx@xxxxxx.com");
cPrinter.set_Option("EMail.Enabled", true);
cPrinter.set_Option("EMail.Method", 2);
cPrinter.set_Option("Email.Server", "default");
cPrinter.set_Option("Save.SaveType", 3);
cPrinter.set_Option("Save.ShowSaveDialog", false);
cPrinter.set_Option("Save.WhenExists", 1);
cPrinter.set_Option("Security.Enabled", true);
cPrinter.set_Option("Security.HasUserPassword", true);
cPrinter.set_Option("Security.UserPassword", "password");
cPrinter.set_Option("Security.Type", 2);
cPrinter.set_Option("Security.Perms128.ContentAccess", true);
cPrinter.set_Option("Security.Perms128.AllowCopying", true);
cPrinter.set_Option("Security.Perms128.Changes", 1);
cPrinter.set_Option("Security.Perms128.Printing", 2);
cPrinter.AddSMTPServer("default", 25, 0, "", "", 0);
}
I am using .NET 3.5 on a Windows XP SP2. 4GB memory. Visual Studio 2008.
Thanks.
.NET not implemented exception when calling AddSMTPServer()
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
- Ivan - Tracker Software
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: .NET not implemented exception when calling AddSMTPServer()
Will fix into new build which should be released on Monday/Teusday.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Re: .NET not implemented exception when calling AddSMTPServer()
Thanks. I just downloaded the latest batch of SDK (March 24, 2009). It appears the function is now implemented.
However, it apppears that a messagebox always appears to pop up when I attempt to print to the print driver after:
MessageBox:
Title: drvui40
Caption: Attach
Is there a way to disable it?
Thanks.
However, it apppears that a messagebox always appears to pop up when I attempt to print to the print driver after:
MessageBox:
Title: drvui40
Caption: Attach
Is there a way to disable it?
Thanks.