OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Thomas M. on January 20, 2025, 08:04:11 pm

Title: PMMail fails sending messages
Post by: Thomas M. on January 20, 2025, 08:04:11 pm
I am desperatly trying to make PMMail sending messages without success.
I am a registered user and I am running PMMail 3.11.30.1767.
Receiving messages works pretty good. But sending doesn't.

The settings of my Internet Service Provider are as follows.

                                              POP                      IMAP                                SMTP
Server                                  pop.swbmail.de imap.swbmail.de            smtp.swbmail.de
Port                                      995                        993                                   587
Authentifizierung               E-Mail-Adresse   E-Mail-Adresse             E-Mail-Adresse
                                              E-Mail-Passwort   E-Mail-Passwort          E-Mail-Passwort
Verbindungssicherheit    SSL/TLS                 SSL/TLS                    STARTTLS


To me it seems that STARTTLS might be the problem.

Any hints what to try to make PMMail send messages succesfully?
Title: Re: PMMail fails sending messages
Post by: Dariusz Piatkowski on January 20, 2025, 08:33:59 pm
I am desperatly trying to make PMMail sending messages without success.
I am a registered user and I am running PMMail 3.11.30.1767.
Receiving messages works pretty good. But sending doesn't.
...
Any hints what to try to make PMMail send messages succesfully?

What does PMMail log show?

You can find it here: Toolbar => PMMail => View Program Log File

As an idea: could you use POP to handle your Outbound email tasks? I realize that POP is not meant for that, but PMMail 'Send' tab certainly shows POP as a viable choice here (at least on my 3.25 release).

Here is a decent review of all the protocol options => https://world.siteground.com/tutorials/email/protocols-pop3-smtp-imap/ (https://world.siteground.com/tutorials/email/protocols-pop3-smtp-imap/)
Title: Re: PMMail fails sending messages
Post by: Neil Waldhauer on January 20, 2025, 08:54:22 pm
PMMail send works here with SMTP port 465 SSL/TLS.

This is the version of stunnel I am using.

stunnel 5.58 on i386-pc-os2-emx built by Paul Smedley on Jun 16 2021
Title: Re: PMMail fails sending messages
Post by: Dave Yeo on January 20, 2025, 10:07:39 pm
Is there a stunnel.ini or similar file? If so, you need the parameter "protocol = smtp" (without quotes) in it.
Title: Re: PMMail fails sending messages
Post by: Rich Walsh on January 20, 2025, 10:44:13 pm
You didn't explicitly say that you're using 'stunnel' but I'll assume you are. Here's the section of my 'stunnel.conf' for my ISP:

Quote
[century]
client = yes
accept = 127.0.0.1:25
connect = smtp.centurylink.net:587
;
verifyChain = yes
CAfile = N:/etc/pki/tls/certs/ca-bundle.trust.crt
checkHost = smtp.centurylink.net
;
protocol = smtp
protocolUsername = <my email>
protocolPassword = <my password>
protocolAuthentication = login

The "protocolAuthentication" line may not be needed by your ISP.
Title: Re: PMMail fails sending messages
Post by: ivan on January 21, 2025, 12:21:20 am
your problem is strange to me.  I use the free.fr server and never had any problems.
SMTP port is set to 25 for sending and I seem to remember having no service years ago when their units in the local exchange went down.  Since they went to fibre there has been no problems, I can even use it to access my yahoo account.
Title: Re: PMMail fails sending messages
Post by: Doug Bissett on January 21, 2025, 04:02:11 am
Quote
I am a registered user and I am running PMMail 3.11.30.1767

The first thing to do, is get up to date: http://pmmail.os2voice.org/index.php?title=PMMail_for_OS/2 (http://pmmail.os2voice.org/index.php?title=PMMail_for_OS/2). STunnel was updated (not sure which version). Whether it will help, or not, remains to be seen.

A verbose log would also help.