How to send emails in Visual Basic 6 with SSL option enabled?
You could use the webdav protocol to send the email via an IXMLHTTPRequest. An example showing how to do this can be found here.
To send via a server that has an SSL certificate just remember to include the https:// at the beginning of the URL.
Related
My Web-server sends emails to one of our clients who uses Mimecast.com enforced TLS. We Send our emails to our client via gmail.com using secure TLS via our web server. Our SSL certificate is up to date and so is the client we are sending emails to. Delivery is successful but when the client sends us any emails Mimecast turns that message into secure message. Basically you have to log into their secure email web-app and access the emails from there.
This is not convenient for us.
It appears that my TLS is working correctly, but every time they send me an email it uses their secure mail web-app (as if my TLS is not working). MimeCast declined to help. How do I ensure that my email-servers TLS will work with mimecast's email server?
I found that the sort of SSL/TSL that was allowed on my web server was not compatible because it was too new. I updated the webserver to allow older protocols.
I made a script in Python3 which sends emails to localhost, but I could not use TLS because it gave me the next error:
STARTTLS extension not supported by server.
I was trying to solve that, but then I thought about the question:
Does using TLS make any sense when sending mail to localhost?
I mean, you send your email in plain text to your localhost mail server, and this is the one in charge of encrypting the mail and send it via TLS, isn't it?
I am using google apps for email. I can send email out through c# code fine with smtp.gmail.com.
I would like to be able to use the name smtp.mydomain.com instead, but still have it go to smtp.gmail.com. I tried just seeing a CNAME in my DNS settings, but I get this error:
"The remote certificate is invalid according to the validation procedure."
Any ideas?
Thanks.
Yes, you can't, the TLS certificate used to communicate privately with the remote SMTP server is signed with smtp.gmail.com. The only solution is to create a SMTP relay with sendmail for example on your own server.
I Have install dot project on linux machine. using ssmtp for gmail account to sending emails for mails notifications . but when i create any user it doesn't send mails to user email ID for account creation. but i send maail form shell prompt.the error i am getting is Failed to send email: 530 5.7.0 Must issue a STARTTLS command first. 22sm11794837wfd.6 added :( . Please help me if any one have solution....
Gmail requires a secure connection (TLS or SSL).
You need to configure SSMPT (not dotProject) to talk securely with Google's SMTP server.
I think you can just add the following to your ssmtp.conf file and (assuming your SSMTP package was compiled with SSL support) it should then work:
UseTLS=YES
Or perhaps:
UseSTARTTLS=YES
More info here.
I assume "530 5.7.0 Must issue a STARTTLS command first." means that you have to connect with TLS (Transport Layer Security). Does dot project support that?
I'm trying to make an SVN post-commit script that makes backups to a Gmail drive. Blat doesn't seem to support TLS. Are there any good scripting programs on windows that can send an email via TLS?
I don't know about other mail senders, but stunnel is able to accept a plain text connection and tunnel it through an SSL connection. You can have it listen on localhost:25 and make an SSL connection to an smtps server (tcp/465). I have used it in a similar situation where a WebDAV client didn't support SSL.
The blat folks are saying the stunnel is the best bet for tls support but i've found that gmail doesn't require tls to send mail. Now, the data may not be encrypted but I send out email via my account (to other gmail accounts only) all the time as an automated process and it works great. if you need it let me know and i'll drop in the command-line parms.