1. Sathishkumar S
  2. PowerBuilder
  3. Friday, 6 October 2023 14:25 PM UTC

Hi all,

IN PB2022 R2 SMTPClient, 
How can I setup the SMTPClient such as SSL, Threads & Connection Attempts

SSL (How to define the SSL) by defualt what is the encrypted connection methos for SMTPClient

Threads (How many thread that SMTPclient can have by default or how to set from user side when sending messages asynchronously using SendSync)

Connection Attempts (to define how many times SMTP Client will retry to connect to the server)

Thanks in Advance
Sathishkumar.

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 9 October 2023 16:44 PM UTC
  2. PowerBuilder
  3. # 1

SSL is obsolete and not very secure.  We recommend using TLS instead.

Comment
  1. David Peace (Powersoft)
  2. Thursday, 17 October 2024 14:17 PM UTC
@Armeen



We have a number of customers who use fasthosts O365 hosting for Email. fasthosts are one of the market leaders for this product and they ONLY support SSL protocol for email SMPT sending. This is causing us a big problem when trying to get them onto the latest versions of our software using the new SMTPClient.



Given that a big player in the field is still insisting on SSL can I ask that you add support for SSL too.



Cheers

David
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 17 October 2024 14:20 PM UTC
Hi David, Can you give us details which specific SSL and version protocol is maximum they support?
  1. Helpful
  1. Julie Jiang @Appeon
  2. Friday, 18 October 2024 06:37 AM UTC
Hi David,



Hi David,



Actually Fasthosts' Office 365 email hosting supports TLS (Transport Layer Security). This includes TLS 1.2, which is required for secure communication and is aligned with the standard security protocols used by Microsoft Office 365. Please refer to: https://help.fasthosts.co.uk/app/answers/detail/a_id/3422/~/tls-1.2-support-for-email.



Best regards, Julie
  1. Helpful 1
There are no comments made yet.
Julie Jiang @Appeon Accepted Answer Pending Moderation
  1. Saturday, 7 October 2023 07:53 AM UTC
  2. PowerBuilder
  3. # 2

Hi Sathishkumar,

Please note that it is not supported to use SSL for the connection by SMTPClient. We have this documented here: https://community.appeon.com/index.php/qna/q-a/smtpclient-how-to-define-ssl-threads-and-connection-attempts.

And when sending messages using SendSync, there will always be a separate thread for the email-sending task. It is not possible to configure the number of threads.

Best regards, Julie

Comment
  1. Roland Smith
  2. Monday, 9 October 2023 18:25 PM UTC
If someone were to use SendSync in a loop, will it create a separate thread for each call with the thread ending when done?
  1. Helpful
  1. Julie Jiang @Appeon
  2. Tuesday, 10 October 2023 03:25 AM UTC
Hi Roland,

If the SendSync is used in a loop, a thread will be created at the first call, and is hibernated when the call is done. The same thread will be activated again when the next call is executed. The thread will be killed when the SMTPObject exits.

Best regards, Julie
  1. Helpful
  1. David Peace (Powersoft)
  2. Thursday, 17 October 2024 14:19 PM UTC
@Julie



We have a number of customers who use fasthosts O365 hosting for Email. fasthosts are one of the market leaders for this product and they ONLY support SSL protocol for email SMPT sending. This is causing us a big problem when trying to get them onto the latest versions of our software using the new SMTPClient.



Given that a big player in the field is still insisting on SSL can I ask that you add support for SSL too.



Cheers

David
  1. Helpful
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.