Piotr Skorupski
Guest
|
Posted:
Wed Sep 14, 2005 8:52 am Post subject:
SPUtility.SendEmail problem |
|
|
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
|
|