Results 1 to 4 of 4

Thread: JMail for .Net?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Question JMail for .Net?

    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

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049
    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

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width