What credentials for email?

Discussion in 'Email' started by Adagio, Feb 24, 2013.

  1. I am in the process of moving our site to Winhost, the domain pointers have not yet been changed.

    I am trying to send email from within classic ASP using Persits AspMail.

    Code:
    ______
    msg.Host = "xxx.internetmailserver.net"
    msg.Username = "postmaster@xxx.wh-2.com"
    msg.Password = "adminpassword"

    if not msg.Send then

    ____________

    Secondary ftp =ftp.xxx.wh-2.com

    I get the message:
    ____________
    Persits.MailSender.4 error '800a0006'

    535 Authentication failed

    /testmail/sendmail.asp, line 93

    _______________________

    If I substitute my personal SMTP server with appropriate credentials all is well. Where have I gone wrong?

    David
     
    Last edited by a moderator: Oct 14, 2015
  2. Think I have cracked it. Username should be postmaster@mydomain.org.uk :)
     
  3. Elshadriel

    Elshadriel Winhost Staff

    Glad you figured that out. :)
     

Share This Page