Page 1 of 1
Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Sat Mar 15, 2025 1:27 am
by rain
The function HTTPRequest() has #PB_HTTP_NoSSLCheck , which is sometimes needed to use.
The function SendMail() does not have an equivalent #PB_SMTP_NoSSLCheck provided, even when needed sometimes.
Any plans to make it available there as well?

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Sat Mar 15, 2025 2:16 am
by Quin
+1 for adding this
Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Fri Jun 06, 2025 8:28 am
by rain
It's a pity such a low hanging fruit didn't make it into PB6.21 Beta 10 yet,
while the list gets longer and longer:
#PB_SMTP_NoSSLCheck
#PB_IMAP_NoSSLCheck
#PB_POP3_NoSSLCheck
Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Fri Jun 06, 2025 8:44 am
by Fred
We usually don't add new functions for bug fix release, unless it fix a bug. Why do want IMAP and POP3 constants ? PB doesn't support that.
Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Wed Sep 17, 2025 8:29 am
by rain
New version 6.30 - new hope:
#PB_SMTP_NoSSLCheck
Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Wed Sep 17, 2025 9:23 am
by Fred
It's already in 6.30, did you check it ?
viewtopic.php?t=87454
Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Wed Sep 17, 2025 9:50 am
by rain
Oh, I did search the release notes for
SMTP, but the flag is named #PB_
Mail_NoSSLCheck, therefore I missed that.
Will happily install 6.30 beta 2 and test it.
1000 thanks.
Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Wed Sep 17, 2025 3:25 pm
by rain
#PB_Mail_NoSSLCheck
seems not to be implemented in 6.30b2
If I include it in my source code, it does not compile:
---------------------------
PureBasic
---------------------------
Line 14: Constant not found: #PB_Mail_NoSSLCheck.
---------------------------
OK
---------------------------
I also searched
Residents\PureBasic.res
and found only
uPB_HTTP_NoSSLCheck when seaching for
NoSSLCheck, but not uPB_Mail_NoSSLCheck.
Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck
Posted: Wed Sep 17, 2025 4:27 pm
by Fred
You can use these values, I will add them to the residents.
#PB_Mail_NoSSLCheck = (1 << 4)
#PB_Mail_WeakSSL = (1 << 5)