To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62708





------- Additional comments from [EMAIL PROTECTED] Fri Mar  3 05:27:00 -0800 
2006 -------
To add some comments on this bug :

what Alain is trying to do is to access this service "SimpleSystemMail" in order
to send mails through StarBasic. 

On Windows 98, when using the dialog is to send a mail ("file > send > Send
document as email"), things do seem to work. But when using this service
"SimpleSystemMail" to do it, the problem reported above appears.

On the source code, we found that OOo seems to send mails using this service in
the following file :

./sfx2/source/dialog/mailmodel.cxx

[...]

Reference< XSimpleMailClientSupplier >  xSimpleMailClientSupplier;

// Prefer the SimpleSystemMail service if available
xSimpleMailClientSupplier = Reference< XSimpleMailClientSupplier >(
     xMgr->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM(
     "com.sun.star.system.SimpleSystemMail" ))), UNO_QUERY );

if ( ! xSimpleMailClientSupplier.is() )
{
     xSimpleMailClientSupplier = Reference< XSimpleMailClientSupplier >(
     xMgr->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM(
     "com.sun.star.system.SimpleCommandMail" ))), UNO_QUERY );
}


if ( xSimpleMailClientSupplier.is() )
{
     Reference< XSimpleMailClient > xSimpleMailClient =    
        xSimpleMailClientSupplier->querySimpleMailClient();

     if ( !xSimpleMailClient.is() )
     {
         // no mail client support => message box!
         return SEND_MAIL_ERROR;
     }

[...]


So, it seems to us that the code stops there on the "return SEND_MAIL_ERROR;" 
line.


Note : 

- from "SimpleSystemMail.idl"
/** Specifies a SimpleSystemMail service. Implementations of such a service
  implement an interface to send mail messages via the currently configured
  system mail client.
*/

- from "SimpleCommandMail.idl"
/** Specifies a SimpleCommandMail service. Implementations of such a service, do
  implement an interface to send mail messages via the current configured
  command line mail application.
*/


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to