SMTPsvg.Mailer seems to have stopped working

Discussion in 'Classic ASP' started by glynhodges, Oct 7, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am a recent discountasp customer and was pleased last week to get this mailer working.

    code:
    Set mailer = Server.CreateObject ("SMTPsvg.Mailer")
    mailer.FromAddress = "myname@myaddress.com"
    mailer.AddRecipient thisnickname, thisemail
    mailer.Subject = "registration"
    mailer.BodyText = "just send a reply to this email - no need to say anything"
    mailer.RemoteHost = "localhost"

    If mailer.Sendmail then ' Send message
    sendMessage = True ' Email was sent ok, return True
    else ' Send Failure
    sendMessage = mailer.Response ' Return error message
    end if

    but,
    this has stopped working since your email latency problem the other day.

    the code has not changed so can you give me a clue ?

    also the support people suggested that this component should be replaced. is this true? apparently everyone was emailed (before I joined up).
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    yes. we will be deprecating ASPMail component. Snippet of the email we sent to customers

    ------------------------------------
    Ever seen we upgraded our server to the latest Windows Service Pack (Win2k3 SP1), we have seen a lot of problem with ServerObjects ASPMail component. Problem including hung site to server crash.

    We attempted to contact ServerObjects support department but we did not get any response from them.

    According to our research, many users are suspecting that ServerObjects have gone out of business. (although their site is still operational, they have not update any of their components for at least 2 years).
    ------------------------------------

    I suggest you consider switching to ASPEmail, JMail or CDO.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Bruce,


    I have changed my codebut the problem persists -ha ha


    I get no error in the code but I receive no mail


    I have used your sample code and just changed the relevant addresses.


    glyn
     
  4. Bruce

    Bruce DiscountASP.NET Staff

  5. have added- & vbcrlf





    I take it this is to the body text only ?
     
  6. bruce


    this is code that does not send?


    I get sendmail = true.





    Set Mailer = Server.CreateObject("Persits.MailSender")


    Mailer.Host = "localhost"
    Mailer.FromName = "me"
    Mailer.From= "me@mysite.com"
    Mailer.AddAddress thisemail
    Mailer.Subject = "just send a reply to this email - no need to say anything"
    Mailer.Body = "just send a reply to this email - no need to say anything" & vbcrlf


    ' catch errors
    On Error Resume Next


    Mailer.Send


    If Err <> 0 Then ' error occurred
    Response.Write "Mail send failure. Error was " &amp; Err.Description
    sendmessage = false
    else
    Response.Write "Mail sent..." &amp; thismail
    sendmessage = true
    End If
     
  7. I have found the problem.


    my email provider had decided that so many emails from the same address (testing testing) were spam and had stopped delivering them both to my address and a colleague assisting me suffered the same thing with their provider at the same time.


    because i did not use their webmail interface i was never made aware of this until I thought to check it - and all the messages had been stuck in a bulk mail folder.





    grrrrrrr
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page