Maybe a stupid question: Is JMail applicable with asp.net? I can only find references with asp on www.dimac.net.
Please send an example with code, if you have one ;)
Printable View
Maybe a stupid question: Is JMail applicable with asp.net? I can only find references with asp on www.dimac.net.
Please send an example with code, if you have one ;)
I don't know exactly what all JMail offers, but you can use the System.Web.Mail.MailMessage object to create a email. Use the System.Web.Mail.SMTPServer object to send it off.
Great, and this doesn't require a special setup or installation on the web server?
I am running on a Windows Server 2003 with MS .NET Framework v1.1 SP1
The web server's smtp service must be running for that web, and you may have to set up an account to use to send the email if you are not using a user's email address.
Additionally, and especially with windows 2003 server, if you are not using a known domain name, the server will block your mail from being sent to prevent malicious relaying. If your using an internal name then your ok, otherwise you have to tell the server to trust the domain name the email is sent from.