× 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.



Depends on the rest of your set-up;
to start with, this is an "old" way, API's are better and more flexible.

But this is a quick way to introduce yourself to what the 400 can do.

Look over the following:
CHGDSTA (F4) if rout to smtp gateway is *none, continue on.
cfgtcp (option 10- is your mail server listed? it must be)
once that is set up, ping on the as/400 command line to make sure it works.
now using CHGSMTPA make sure autostart is set to yes and that the mail
router
 parm is correct.
now you must run this command:

adddire usrid(internet gateway) usrd('internet smtp gateway')
sysname(internet)
prefadr(netusrid *ibm atcontxt)

then the following:
chgdsta smtprte(internet gateway)


Now you can start the smtp server (strtcpsvr *smtp)

you also need in your system alias table the user pchappop, this is via
cfgtcp, option 12
to configure smtp, also the user sending the message must be in this table,
and in your
directory entries.

Those are what I remember so far

HTH

mark

-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of Oscar Barberá
Sent: Tuesday, February 26, 2002 10:48 AM
To: midrange-l@midrange.com
Subject: Sending e-mails from AS/400


We want to send an e-mail from iSeries 400. We have followed the
next steps:
>STRMSF
>STRTCPSVR SERVER(*SMTP)
>STRTCPSVR SERVER(*POP)
>SNDDST TYPE(*DOC) TOINTNET((user@yahoo.es)) DSTD(TEST)
MSG('This is a test') DOC(INVOICE) FLR(myfolder)

where user@yahoo.es is a valid e-mail address and the document
INVOICE exist in myfolder. We are not receiveing anything in the
e-mail address. What are we missing?


_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger
Comunicación instantánea gratis con tu gente.
http://messenger.yahoo.es
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
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 ...

Replies:

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.