1. Bernhard Stoeter
  2. PowerBuilder
  3. Thursday, 13 June 2024 10:06 AM UTC

Hi,

sending emails to remote servers using PB 22.2.0.3356 SMTPClient class sometimes leads to


-12: The remote server denied the Curl login


This happens when ‘curl’ is there on the black list or not on the white list respectivly.


Curl provides a way to set the user agent (-A or –user-agent). So you can set a common browser as user agent to bypass the block. Is there a way to get access to that curl parameter? Or are there better/otther ways to solve this issue?

Thanks in advance,

Bernhard

David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Thursday, 13 June 2024 14:17 PM UTC
  2. PowerBuilder
  3. # 1

Bernhard

I suspect that this might be an issue with the PB implementation of the SMTPClient, I woudl raise a support ticket for this one as it should be easily reproduced. The only thing to know would be what SMTP server are you using, just in case it os something specific to that server. Appeon have been very responsive to the issues we have reported around the SMTPClient object and have fixed issues very quickly.

Not a lot of help I know but as far as I know there is no setting to change that interface.

Cheers

David

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 13 June 2024 17:35 PM UTC
Agree with David, please open a support ticket: https://www.appeon.com/standardsupport/newbug
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.