Last post Feb 13, 2006 09:45 AM by haidar_bilal
Feb 13, 2006 02:31 AM|haidar_bilal|LINK
I have been facing this problem for few days:
I am unable to send an email from a cutom module I have created.
I am using the following call:
Is there any wrong with this?
Feb 13, 2006 09:35 AM|imagemaker|LINK
I'm not sure where you found the Mail namespace in DNN or that particular method signature for SendMail. All of the cases in which the core or standard modules send e-mail use one of the overloaded methods from the DotNetNuke.Common.Globals namespace -
either SendNotification or SendMail. SendNotification is probably easier to use because you do not need to supply any values for SMTP authentication, etc. as all of the defaults from host or portal settings are used.
I'm using the following (from the VB module DotNetNuke.Common.Globals) with success:
Feb 13, 2006 09:45 AM|haidar_bilal|LINK
Post Closed. I was able to solve the problem, it was an SMTP problem.