WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: cssyphus on April 29, 2025, 01:22:31 PM

Title: Postie extender not working on one webhost
Post by: cssyphus on April 29, 2025, 01:22:31 PM
I am trying to send email via the Postie extender, on a shared hosting account (cPanel account on ScalaHosting.com). I am following the example in the Postie help file**.

Note: After the ScalaHosting test failed, I then tested this same script with another webhost on which I have an account (hostupon.com) - and it worked. BUT I need to send emails from the ScalaHosting webhost... (Anyway, confirmation that the script is not the problem.)

The host, userid, password settings are all correct (double-checked)
host="mycorrectdomain.us"
userid="cssyphus@mycorrectdomain.us"
password:"thecorrectpassword"

**This is the config that worked correctly on hostupon.com server, but failed on Scala:**
port="26"
flags="eh"
Result: Login failed: 503 AUTH command used when not advertised

**Also tried:**
port="26"
flags="h"
Result: Could not send: error= -1
Status: 550-Please turn on SMTP Authentication in your mail client

**Also tried:**
port="465"
flags="e"
Result: "Could not connect to server: mycorrectdomain.us:465, error=-1

1. Is there something more I can try with the above script that might work?

2. Or, is there a switch/setting/config that I should ask the web host to enable for my account?


** Appears to be identical script to this Tech DB article:
https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsrch.web+~+TechHome (https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsrch.web+~+TechHome)
Title: Re: Postie extender not working on one webhost
Post by: td on April 29, 2025, 09:22:03 PM
Are you using "tls" in the sixth parameter to kInit with port 465, and have you tried port 587 with "tls"?
Title: Re: Postie extender not working on one webhost
Post by: cssyphus on April 30, 2025, 07:30:28 AM
Tony! The "587" port worked! Why did that work???  Who cares! It worked! (Actually, why DID it work?)

And, of course, searching the forum for "587" found other posts where you made that suggestion... I did search, obviously just did not READ (or more likely assumed that that port was specific to the user's post and not potentially applicable...)
Title: Re: Postie extender not working on one webhost
Post by: td on April 30, 2025, 08:42:01 AM
Servers that expect the STARTTLS command usually require Port 587. For what it is worth, STARTTLS is sometimes referred to as opportunistic TLS.