Developer forum

Forum » Development » Sending mail with Dynamicweb.DWMail()

Sending mail with Dynamicweb.DWMail()


Reply

Is there a way to find out what kind of technical error we have a problem with?




 




It's from my Developer solution and I have set SMTP servers to "localhost;" in Globalsettings.aspx and these servers are running and responding.




 




Any suggestions?


Replies

 
Nicolai Høeg Pedersen
Reply
ks wrote:


Is there a way to find out what kind of technical error we have a problem with?


It's from my Developer solution and I have set SMTP servers to "localhost;" in Globalsettings.aspx and these servers are running and responding.


Any suggestions?





You should not use DWMail since it is only there for backwards compatability old ASP solutions.


 


We use aspNetEmail because it is .NET native and because of its support for all encodings (ie japanese) which was not supported in system.web.mail in .NET 1.1. Use system.net.mail of .NET 2.0 instead - it has everything you need.


 


Set the mailserver to Base.DefaultSmtpServer().

 
Reply
NP wrote:

ks wrote:





Is there a way to find out what kind of technical error we have a problem with?






It's from my Developer solution and I have set SMTP servers to "localhost;" in Globalsettings.aspx and these servers are running and responding.






Any suggestions?










You should not use DWMail since it is only there for backwards compatability old ASP solutions.




 




We use aspNetEmail because it is .NET native and because of its support for all encodings (ie japanese) which was not supported in system.web.mail in .NET 1.1. Use system.net.mail of .NET 2.0 instead - it has everything you need.




 




Set the mailserver to Base.DefaultSmtpServer().




Thanks, but that leads me to a suggestion which I will post in "Suggestions" in 2 sec.:

Would it be possible in further releases you added comments in the API for depricated methods and classes?
 
Nicolai Høeg Pedersen
Reply

That would be a good idea... Look into it.

 

You must be logged in to post in the forum