Page 1 of 1

SendMail Fails in 6.10

Posted: Tue Apr 09, 2024 8:59 pm
by swhite
Hi

I use Sendgrid to send email and this works fine in PB 5.73 in SSL or non-SSL modes but fails in all the newer 6 versions of PB. The Sendgrid API uses an apikey as the password. This key is 69 characters in length and looks like the fake sample below. The user name is always "apikey" and the port is 465.

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

Hopefully this information will help determine why sending emails fails in the newest version of Purebasic.

Thanks,
Simon

Re: SendMail Fails in 6.10

Posted: Sun Mar 09, 2025 12:49 pm
by Fred
Could you try to set the #PB_Mail_Debug in SendMail() and look at the console output to see if there is something helpful ?

Re: SendMail Fails in 6.10

Posted: Mon Mar 17, 2025 1:09 am
by DoubleDutch
It would be handy if there was a way of capturing the debug information as a string - that way end users could let us know that information if needed.

Re: SendMail Fails in 6.10

Posted: Thu Apr 10, 2025 2:49 pm
by Fred
Any chance ?