Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
rain
New User
New User
Posts: 6
Joined: Sat Mar 15, 2025 1:19 am

Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post 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?
:?:
Quin
Addict
Addict
Posts: 1134
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post by Quin »

+1 for adding this
rain
New User
New User
Posts: 6
Joined: Sat Mar 15, 2025 1:19 am

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post 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
Fred
Administrator
Administrator
Posts: 18263
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post 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.
rain
New User
New User
Posts: 6
Joined: Sat Mar 15, 2025 1:19 am

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post by rain »

New version 6.30 - new hope:

#PB_SMTP_NoSSLCheck
Fred
Administrator
Administrator
Posts: 18263
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post by Fred »

It's already in 6.30, did you check it ? viewtopic.php?t=87454

Code: Select all

#PB_Mail_NoSSLCheck
rain
New User
New User
Posts: 6
Joined: Sat Mar 15, 2025 1:19 am

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post by rain »

Oh, I did search the release notes for SMTP, but the flag is named #PB_Mail_NoSSLCheck, therefore I missed that. 8)

Will happily install 6.30 beta 2 and test it.

1000 thanks.
rain
New User
New User
Posts: 6
Joined: Sat Mar 15, 2025 1:19 am

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post 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.
Fred
Administrator
Administrator
Posts: 18263
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Need #PB_SMTP_NoSSLCheck like we have #PB_HTTP_NoSSLCheck

Post by Fred »

You can use these values, I will add them to the residents.

#PB_Mail_NoSSLCheck = (1 << 4)
#PB_Mail_WeakSSL = (1 << 5)
Post Reply