NetTalk Central

Author Topic: Getting Email Error 530 after upgrade to NT 8.52  (Read 3018 times)

rayb12

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Getting Email Error 530 after upgrade to NT 8.52
« on: June 22, 2015, 01:55:16 PM »
Hi All,

I have a Web Server app that sends an email when a user presses a button.  This function has been working great until I upgraded from NT6 to NT8.52. I now get an error message 530 Authentication error.

Nothing else that I know of has changed, I am populating the AuthUser and AuthPassword fields.

For what it is worth I tried the NetDemo application and it works with the same SMTP settings!  However, I also tried the WebServer Example 11 (Send Email from Web Server) and it gives me the same 530 error.

Any help is greatly appreciated!

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Getting Email Error 530 after upgrade to NT 8.52
« Reply #1 on: June 22, 2015, 09:52:45 PM »
Hi Ray,

The template now has options to set the authUser and AuthPassword properties. These are likely overriding the values you are setting in code.

If you look at your code you'll see you're doing something like;

  ThisSendEmail.AuthUser = 'abc'
  ThisSendEmail.AuthPassword = '123'

But a few lines lower down the template is generating something like

  ThisSendEmail.AuthUser = EmailUser
  ThisSendEmail.AuthPassword = EmailPassword

see http://www.capesoft.com/accessories/NetTalkUserGroup.htm #44, around the 0:24 mark.

Cheers
Bruce

rayb12

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: Getting Email Error 530 after upgrade to NT 8.52
« Reply #2 on: June 23, 2015, 10:23:52 AM »
Hi Bruce,

That worked!  Thank you so much for all of your help!

Ray