Results 1 to 6 of 6

Thread: website email

  1. #1
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation website email

    I'm just a student and have recently been asked to provide a webpage with a page that sends an email the owner of the website the information on said page, so far the has meet with nothing but problems.

    The error I'm receiving is below
    Error Type:
    Server object, ASP 0177 (0x800401F3)
    Invalid class string
    /addresschange.asp, line 2


    Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

    Page:
    POST 92 bytes to /addresschange.asp

    POST Data:
    select=Mr&name=&address=&memno=&payno1=&payno2=&natinsno=&tel=&email=&submit=Send+My+Details

    '''''''''' file 1 The code i'm using is
    <form action="../../addresschange.asp" target="mainFrame" method="post" name="form1">

    <input type="submit" value="Send My Details" name="submit" onClick="window.location='addressprocessed.htm'" >


    ''''''''''' file 2 addresschange.asp
    </form>
    <%
    Set newMail = Server.CreateObject("JMail.SMTPMail")
    newMail.ServerAddress = "smtp.e7even.com"
    newMail.Sender = SenderEmail
    newMail.Subject = Subject
    newMail.AddRecipient "clint@yikes.co.uk"
    newMail.Body = Body
    newMail.Priority = 1
    newMail.Execute
    %>

    If anyone know why I have this error please reply
    Last edited by Clint; 09-10-2005 at 04:07 AM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Check JMail.SMTPMail exists: that the required libs are installed.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    where do i get JMail software

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I'm not entirely sure. My best guess would be that it was installed by IIS, but hasn't been put where it should be. Search your system. Failing that, try microsoft.com.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for your help, but It's not I think I might try a java applet now instead.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Won't help unless you have a mailserver on the same address as your webserver. Security permissions will prevent the applet connecting to any other server to send the mail.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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