Frequently Asked Questions
I get an HTTP 500 error with text Invalid ProgID when creating the component. Why?

Most likely you have not run the easy2email config utility (from Start - Programs - easy2email program group) to add the component to the COM+ package. The installation program does not do this automatically.

I get an HTTP 500 error with text complaining about incorrect identity when creating the component. Why?

Most likely you have not run the easy2email config utility (from Start - Programs - easy2email program group) to add the component to the COM+ package or you did not specify a user account on the Component tab. The installation program does not do this automatically.

What does it mean that the easy2email component is in a COM+ package?

When a component is in a COM+ package in Component Services the component will be created in a separate process called dllhost.exe when a client application (like and ASP page) creates the component. The COM+ package can be configured to run with a different user identity, which make sorting out security problems easier.

Can I change the name of the COM+ package in Administrative Tools - Component Services?

No you can't.

How does logging work?

If you have logging enabled (by calling the SetLogging method) all attemps by the component to connect, authenticate, send or disconnect by the component will be logged to either a file or ADODB connection (depending on how you called the SetLogging method and the LoggingDestination poperty).

Can I turn of logging globally?

Yes. In the easy2email config on the Component tab if you uncheck Allow Logging to File and ADODB then no user of the component will be allowed to use the logging feature.

When I turn on logging from a web page the easy2email component does not work anymore. Why?

Most likely it is a permissions problem and the user context under which the process (in which the component runs) is created does not have the necessary permissions to right to the log file or write to the database.

How do I log to a text file?

Specify a filename with the LoggingDestination property then call the SetLogging method with the parameter lgText.

How do I log to database with ADODB?

Specify a UDL filename with the LoggingDestination property then call the SetLogging method with the parameter lgADODB.

What is a UDL file for logging with ADODB?

A UDL file is a file that specify database connection properties like the the provider, location of the database, username, password etc.

How do I create a UDL file?

Use a text editor (like Notepad) to create a text file and save the file with a .UDL extension. Then from Windows Explorer double-click the file which will bring up a screen to edit the data link properties.

When logging to ADODB does it log to a specific table in the database?

Yes it does. The table name is fixed. It must be called e2elog and must contain the following string fields:
  • ActivityDateTime
  • ActivityDescription
  • LogReferenceID
  • MailFrom
  • Recipients
  • CCRecipients
  • BCCRecipients
  • ReplyTo
  • ReceiptRecipient
  • MessagePriority
  • BodyContentType
  • ContentTransferEncoding
  • CharacterSet
  • Attachments
  • Subject
You can get a sample UDL file and Access database in the logdata subfolder of the folder where the easy2email component is installed in.
Tip: You can create a table called e2elog in any database, then create a UDL file to point to the database, then enable logging from the easy2email component. With this approach you can have the easy2email logging table conveniently available for queries from your systems.

How do I disable logging in a web page?

By default it is disabled when the easy2email component gets created. You can call the SetLogging method with the parameter lgNone to explicitly disable it. Note that with the global setting Allow Logging to File and ADODB in the easy2email config utility logging can be globally disabled.

 
   
Home|Contact Us|Useful Links||Disclaimer  
 ©2007 easy2email. All rights reserved.