Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Per E. Johannessen

Pages: 1 ... 3 4 [5] 6 7 ... 12
61
Programming / Re: Rexx Socket / SMTP
« on: May 06, 2019, 09:49:43 pm »
Have found various "rexx-sendmail-programs" but none of them can be used since they don't support SSL.

Tried PMMail, which receives mail ok, but unable to send. It has lots of configuration options so most likely
I have not set it up right, (so can't use PMMSEND for now).
(Smtp configuration in Seamonkey is easy and works fine.)

Some more searching lead me to:

https://sourceforge.net/projects/rexxcurl/files/rexxcurl/2.0/rexxcurl20os2_RexxTrans.zip/download

Seems like rexxcurl supports SSL and is the right tool.




62
Programming / Re: Rexx Socket / SMTP
« on: May 04, 2019, 01:02:42 am »
I've found another example written in REXX: John Small's ReleaseTool.cmd of FM/2. See the fm2/trunk source directory. It's much shorter than RexxMail.cmd, but regarding emails, it's only able to send them.

Logged in but still I get "no permission" when I try to read the file.

63
Programming / Re: Rexx Socket / SMTP
« on: May 04, 2019, 12:59:16 am »
Found somewhere a link to rxhelo.cmd, but unfortunately the link was not available anymore.

Have you tried that link on www.archive.org ? Maybe the target of that link is saved there.

It took me to an "archive-site" but got msg that it was unavailable

64
Programming / Re: Rexx Socket / SMTP
« on: May 03, 2019, 08:32:42 pm »
For now I think I'll go for the PMMSEND utility.

Still, I'd like to learn how do it with RxSock.

"RXHELO which utilises RXSOCK is a good starting point"

Is RXHELO a library?
Or do you mean RXHELO as a term for the connection/authentication commands between the client and the smtp server?

Found somewhere a link to rxhelo.cmd, but unfortunately the link was not available anymore.

65
Programming / Rexx Socket / SMTP
« on: May 03, 2019, 04:07:06 pm »
Hi,

I'd like to automate sending e-mails with a file attached from an application I've created with VX-Rexx.  Since I have no experience using Rexx Sockets I'd appreciate help/ sample of how to:
Initialize sockets
Log-in to smtp server
Attach file
Send message

66
Programming / Re: Rexx function changestr
« on: April 04, 2019, 11:16:36 pm »
Anyone knows which DLL contains CHANGESTR ?

(By the way, the reason I need this "search/replace" routine is that DBExpert has trouble calculating numbers in forms on systems where locale configuration for decimal symbol is a comma.)

67
Programming / Re: Rexx function changestr
« on: April 04, 2019, 09:23:26 pm »
Thank you Andreas,

In the meantime I've tried the function "translate" and it works as needed.

I'm using the Classic REXX that comes with ArcaOS and took for granted that I had the latest DLL's.
(All the rexx dll's installed are dated 06.09.2000.)


68
Programming / Rexx function changestr
« on: April 04, 2019, 06:26:12 pm »
AFAIK the function "changestr" is not implemented in classic REXX, but seems to be supported by Object REXX.
Does anyone know about a library with this function for classic REXX, or a "workaround" to easily achieve what "changestr" does?

---
CHANGESTR(needle, haystack, newneedle)

This function was added by the ANSI-1996 standard. It replaces all occurrences of string needle in string haystack with string newneedle. Returns the haystack if needle is not found.

Examples --

changestr(‘x’,’abcx’,’d’) == abcd
changestr(‘x’,’abcc’,’d’) == abcc        /* needle was not found in haystack */
---

69
Applications / Re: Simple CUPS Support Printer Quesion
« on: November 07, 2018, 12:54:51 am »
Just FYI; for my HP M477fdw I use a postscript driver that was supplied with ArcaOS and printing works fine.
(Not at my system right now, but I believe the driver is HP Color Laser Jet 3800 PS.)

70
Internet / Re: Couldn't resolve host
« on: May 06, 2018, 08:27:51 pm »
No fixed IP, using DHCP.

71
Internet / Re: Couldn't resolve host
« on: May 06, 2018, 02:49:00 pm »
This is the result of tracerte:

traceroute to mail.broadpark.no (80.235.81.36), 30 hops max, 38 byte packets
1 10.0.0.1            (10.0.0.1) 0 ms 0 ms 0 ms   
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *

I believe that the user of this pc has accidentally changed something. To change MTU size, isn't that done
via command prompt? Doubt that this user has changed anything that is not easily changed from the WPS.


72
Internet / Couldn't resolve host
« on: May 05, 2018, 03:44:36 pm »
Hi,

I have a rexx program that automates sending emails with attachments and it has worked perfectly for years.
All of a sudden it is not sending anymore and I found this error message in the log:
cURL error: 6 - Couldn't resolve host 'mail.broadpark.no'

This pc is set up using DNS and and Firefox works OK.

The one who normally uses this pc cannot remember changing anything.
Nothing has changed at the ISP and all login/host details are correct in the setup of the rexx program.

Ideas anyone?

73
Applications / Re: CUPS - Support Printer List
« on: January 04, 2018, 08:39:11 pm »
I chose HP Color LaserJet 3700 PS for my HP M477dfw, prints fine, and duplex works.
When you create the printer object just choose to install driver shipped with ArcaOS/eCS and you will get a list of printers.
In my case the HP 3700 PS works fine, but you may have to try another PS for your printer.

If you have a ppd-file for the printer you could also import it.
You can find some good info/tools at http://www.altsan.org/os2/printing/


74
Applications / Re: CUPS - Support Printer List
« on: December 19, 2017, 08:43:00 pm »
HP Color Laser Jet Pro M477fdw works with a pscript driver supplied with ArcaOS/eCS.
(For scanning, I either scan to e-mail or to a networkfolder).

75
Setup & Installation / Re: Printer advice.
« on: November 26, 2017, 12:16:34 am »
I set up newer HP-lasers to use SLPR and one of the PS3 drivers supplied with eCS/AOS.
(Haven't had the need to try Cups yet.)
No experience with Brother but it seems to support PostScript3.

Pages: 1 ... 3 4 [5] 6 7 ... 12