OK! Then I have a much more serious problem, because using your pbi and an exact copy of your pb code I get the following error:
"POLINK: error: Unresolved external symbol ‘_curl_easy_strerror‘.
POLINK: fatal error: 1 unresolved external(s)."
Thanks anyway.
Regards
Dave
SendMail SSL via port 465
Re: SendMail SSL via port 465
Which version of PB on which OS 

Re: SendMail SSL via port 465
PB 5.62 (x64) Win 7 (x64). However your question prompted me to switch the compiler option to 32bit and your code compiles without the linker error. Now all I have to do is work out why it doesn't send the email.
Best Regards
Dave
Best Regards
Dave