Questions tagged [smtps]

SMTPS is an extension of SMTP to secure connections with the use of SSL or TLS.

SMTPS is an extension of to secure connections with the use of or . It's not a new protocol, client applications still use SMTP but SSL (or TLS) is used at the transport layer.

29 questions
16
votes
5 answers

How to configure Spring JavaMailSender for SES using SMTP?

We are trying to configure Spring JavaMailSender to work with Amazon's SES service using SMTP, but we are getting this error: javax.mail.MessagingException: Could not connect to SMTP host: email-smtp.us-east-1.amazonaws.com, port: 465, response:…
rreyes1979
  • 1,855
  • 3
  • 23
  • 34
3
votes
3 answers

SMTPS: OpenSSL - SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol s23_clnt.c:787:

I'm using OpenSSL in order to encrypt some emails, that a piece of hardware sends. But, whenever I try to call SSL_connect(), I get : SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol After sending "EHLO" and "STARTTLS" I call the following…
H_squared
  • 1,251
  • 2
  • 15
  • 32
3
votes
1 answer

Javamail API send email to smtp and smtps

I am building a mail client and I would like to know if my session is able to support all kind of smtp connections... although I don't really know what can I expect from there I would like to confirm if the following is correct 1 - For SMTP I will…
Killercode
  • 894
  • 1
  • 20
  • 34
2
votes
1 answer

Centos 7 unable to connect to smtps server "No route to host"

I have 2 PC (the second is a clone of first) running centos 7. From one is not possible to send mail. I did some tests and the result is this: [root@PC2]# telnet smtps.aruba.it 465 Trying 62.149.156.218... Connected to smtps.aruba.it. Escape…
user3442473
  • 303
  • 3
  • 13
2
votes
1 answer

Can I attach my server SSL certificates to the TIdSMTPRelay component when relaying mail

I'd like to know if there is a way to use my server certificates when relaying mail using the TIdSMTPRelay component in indy. This is how the mail relaying part in my code looks like : procedure TMyForm.SMTPServerMsgReceive(ASender:…
Viktor Anastasov
  • 1,093
  • 3
  • 17
  • 33
2
votes
1 answer

Use AuthenticatingSMTPClient and SSL?

I need to send an email using SSL (SMTPS) and authentification. In apache Commons Net however there seems to be either AuthenticatingSMTPClient (no SSL, though it extends SMTPSClient?) or SMTPSClient (no authentication?), I need a combination of…
stefan.at.kotlin
  • 15,347
  • 38
  • 147
  • 270
2
votes
2 answers

javamail returning smtp as transport, instead of smtps

I set the mail.transport property to smtps, beside the very basic information for connecting to a smtps server: Properties p = new Properties(); p.put("mail.transport.protocol", "smtps"); p.put("mail.smtps.host", "smtp.gmail.com"); …
AgostinoX
  • 7,477
  • 20
  • 77
  • 137
1
vote
0 answers

Java Mail : Unable to initiate SMTPS protocol via TLS on port 587

I would like to send SMTPS mail via TLSv1.2/TLSv1.3 on port 587. I use Axigen as a mail server, with the following configuration: listeners ssl : 465 / 587 ssl configuration : TLS 1.2 / TLS 1.3 EXAMPLE WITH PORT 587 Here is the java debug trail…
Lisa Trz
  • 11
  • 2
1
vote
1 answer

Which ports are used for which purpose specifically in email communication?

I understand that there are several options to choose from when using an e-mail server. E.g. 25 and 587 for opt-in encryption and 465 for enforced encryption. docker-mailserver, a popular docker mailserver container describes ports 587, 465, 143 and…
dmuensterer
  • 1,875
  • 11
  • 26
1
vote
1 answer

Sendmail use localhost.localdomain

Sendmail with Perl uses localhost.localdomain instead of a fully qualified domain name (FQDN). Sendmail and server configuration is correct, hostname is setup with FQDN. My script contains the following lines: use MIME::Lite; use…
Ωmega
  • 42,614
  • 34
  • 134
  • 203
1
vote
1 answer

Unable to submit email on port 465 using Net::SMTP module in Perl

I want to submit email on port 465 of my smtp server using the Net::SMTP module(without using Net::SMTP::SSL) in a perl script from client. On Port 465 of my SMTP server, "submissions" service runs, which understands SMTPS. I have tried to find the…
Ayush
  • 880
  • 1
  • 9
  • 21
1
vote
0 answers

How to send a mail via SMTPS using the curl package in R?

I would like to send a mail using SMTPS in R. Currently, non of the available packages supports sending Mails via TLS (rmail & sendmaileR) or they have a hard to install Java dependency (mailr). I tried using curl and managed to send a mail using…
Jan
  • 186
  • 8
1
vote
2 answers

Error in sending mail through smtps

I am getting the below exception while connecting to my mailserver while executing the below line transport.connect("test.mailserver.com",465,"test.user@test.com","testpwd"); The Exception is: (javax.mail.MessagingException)…
gaurav dalela
  • 11
  • 1
  • 2
1
vote
1 answer

cURL terminal command executes successfully while libcurl program doesn't

#include int main(int argc, char *argv[]) { CURLcode ret; CURL *hnd; struct curl_slist *slist1; slist1 = NULL; slist1 = curl_slist_append(slist1, "reciever@gmail.com"); hnd = curl_easy_init(); curl_easy_setopt(hnd,…
1
vote
3 answers

How to receive email using linux, bash and imaps?

I have some email server which receives from clients via smtps (port 465, ssl/tls, normal passwort) and send to clients via imaps (port 993, ssl/tls, normal password). What I need are bash commandos to receive/send emails from/to this server. I've…
user1587451
  • 978
  • 3
  • 15
  • 30
1
2