sendmail issue

A

Atul

Hi All,

I am trying to use sendmail from VB .NET Code

objXlWorkBook.SendMail("recipients:[email protected]", "subject:=Test Email", Type.Missing)

But i get an error message "The object invoked has disconnected from it clients."
Does anyone have an idea how to resolve the same. I tried searching on the web but did not get any relevant pointers.
 
T

Tom Ogilvy

In VB it would be like this:

objXlWorkBook.SendMail recipients:="[email protected]", subject:="Test Email"
', Type.Missing
I wouldn't think argument names would be included inside the string.

--
Regards,
Tom Ogilvy

Atul said:
Hi All,

I am trying to use sendmail from VB .NET Code

objXlWorkBook.SendMail("recipients:[email protected]", "subject:=Test Email", Type.Missing)

But i get an error message "The object invoked has disconnected from it clients."
Does anyone have an idea how to resolve the same. I tried searching on the
web but did not get any relevant pointers.
 
Top