× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



MAILTOOL does authentication as well as SSL. :)

Bradley V. Stone
BVSTools, Inc.
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Jim Franz
Sent: Saturday, February 28, 2009 1:42 PM
To: Midrange Systems Technical Discussion
Subject: Re: php email script


Great idea, but unfortunately IBM never put smtp authentication in their
iSeries smtp server, and our isp (who is hosting our email
serving) requires
it.

Jim Franz

----- Original Message -----
From: "Dan Kimmel" <dkimmel@xxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Saturday, February 28, 2009 2:18 PM
Subject: RE: php email script



You ought to be able to craft a little shell script (you'll call it
"sendmail") and put it in the /usr/bin/ directory. The script would take
the parameters and call SNDDST command. You'll have to have SMTP
configured as a TCP service on the i machine. You could get more
elaborate and write a program that calls the QtmmSendMail API.

Here's a nice article and code for doing that written by Scott Klement.
http://systeminetwork.com/article/sending-e-mail-qshell-and-pase-scripts
He's written a nice utility (in RPG, by the way) that emulates sendmail.
His article references it at /qsys.lib/scott.lib/mailsend.pgm. You could
put a shortcut (soft link) at /usr/bin/sendmail that references
/qsys.lib/scott.lib/mailsend.pgm. php would never know the difference.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Franz
Sent: Thursday, February 26, 2009 9:46 PM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: php email script

Did Zend/IBM make avail a version of sendmail support sending email to a
server requiring authentication (user & pwd)
V5R4 system - a tiny model 800
Running some php scripts in Apache
Do not have any tool stuff loaded (Zend or any others) Trying to get a
simple email out the door from a php based "contact" screen.
Developer's php using a tool called Form2Mail, which came in
Dreamweaver. It is looking for /usr/sbin/sendmail I need the simplest
way to make this work or a similar tool for same effect.
Customer will not commit to going forward till email works...
Email hosted by isp and requires authentication.
I know I have asked this before. I'm not the php developer, but I've got
to make the iSeries work for this. No other server in network.
Zend and other php lists full of "try this..", "should work", and it
works and doesn't work in the Zend Framework. Very Confusing.
Jim Franz
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.