You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to send an email with my ProtonMail account, I have bridge installed which runs an smtp server on my local machine at 127.0.0.1:1025 and uses SSL for security, the bridge then relays my email to ProtonMail servers which don't support smtp directly for security reasons, thus they created the bridge.
When I do this I get his error when running send:
* processing: smtps://127.0.0.1:1025* Trying 127.0.0.1:1025...* Connected to 127.0.0.1 (127.0.0.1) port 1025* CAfile: /opt/homebrew/Cellar/julia/1.9.2/share/julia/cert.pem* CApath: none* SSL certificate problem: self-signed certificate* Closing connection┌ Error: ERROR:│ exception =│ curl_easy_perform() failed: SSL peer certificate or SSH remote key was not OK│ Stacktrace:...
So I need to figure out how to solve this certificate issue?
Here is my code:
url ="smtps://127.0.0.1:1025"
opt =SendOptions(
isSSL=true,
username=ENV["BRIDGE_UNAME"],
passwd=ENV["BRIDGE_PASS"],
verbose=true
)
functionsend_email2(name, sender, receiver, subject, message, attachments)
global url, opt
to = ["<$receiver>"]
from ="$name <$sender>"
replyto = sender
body =get_body(to, from, subject, message; replyto, attachments)
resp =send(url, to, from, body, opt)
end
The text was updated successfully, but these errors were encountered:
I am trying to send an email with my ProtonMail account, I have bridge installed which runs an smtp server on my local machine at 127.0.0.1:1025 and uses SSL for security, the bridge then relays my email to ProtonMail servers which don't support smtp directly for security reasons, thus they created the bridge.
When I do this I get his error when running send:
So I need to figure out how to solve this certificate issue?
Here is my code:
The text was updated successfully, but these errors were encountered: