SPUtility.SendEmail problem
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
SPUtility.SendEmail problem

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Piotr Skorupski
Guest





Posted: Wed Sep 14, 2005 8:52 am    Post subject: SPUtility.SendEmail problem Reply with quote

Hi,

Im developin a small app that creates a WSS site, ads to it admin user and
then sends email to that user wichcontains information that he is an admin o
new created site. I'am trying to use SPUtility.SendEmail method, but when im
calling it there is an exception thrown "Object reference not set to an
instance of an object". I think that there is a problem with SPWeb object
wich have to be passed to this method. I was checking this object and it is
instantioned properly. When im for example try to display "title" property of
this object it works ok. Maybe one of the properties of this object is not
set?

Thanks for all your help

Kind regards

Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Access Forum - Microsoft Office Forum

New Topics Powered by phpBB