1.

Would You Use Spwebapplication To Get Information Like The Smtp Address Of The Sharepoint Site?

Answer»

Yes, since this is a Web Application level setting. You would iterate through each SPWebApplication in the SPWebApplication collection, and then use the appropriate PROPERTY calls (OutboundMailServiceInstance) in ORDER to RETURN settings REGARDING the mail service such as the SMTP address.

Yes, since this is a Web Application level setting. You would iterate through each SPWebApplication in the SPWebApplication collection, and then use the appropriate property calls (OutboundMailServiceInstance) in order to return settings regarding the mail service such as the SMTP address.



Discussion

No Comment Found