-
Java Mail API
Hallo Olli,
ich habe hier eine Anleitung und da steht definitiv, dass ein
Javagruppenptf vorhanden sein muss und da sollte man doch
das aktuellste installieren:
Remember, this only works with V5R1 or higher
1. Install the latest JV1 group PTF's. This will not work with the JV1 group as installed from the V5R1 CD's (I know this from experience).
2. Create a directory called JavaUtil in the root of the IFS.
3. Create a directory called JavaMail in the JavaUtil directory.
4. Move the following files to /JavaUtil/JavaMail :
activation.jar
imap.jar
JavaMail.class
JavaMail.java
JavaMail.properties
JavaMailwithAttachment.class
JavaMailwithAttachment.java
mail.jar
mailapi.jar
pop3.jar
smtp.jar
Note: .class and .jar files are binary files. If you are using FTP to move the files, be sure you use BINARY. Download these files here (580 KB).
5. Move javamailpr.mbr to a source physical file member.
6. Move javamail.mbr to a source physical file member and compile it (RPGLE). Be sure to point the /copy to the correct source file.
7. Move cjavamail.mbr to a source physical file member and compile it (RPGLE).
8. Move clsmail.mbr to a source physical file member and compile it (CLP).
9. Move strmail.mbr to a source physical file member and compile it (CLP).
10. In JavaMail.properties, change email.hosttype to the type of host you use. Change email.hostname to the name or IP address of your SMTP server.
11. To test, call strmail, then cjavamail, then clsmail.
Similar Threads
-
By TMusolf in forum NEWSboard Programmierung
Antworten: 4
Letzter Beitrag: 25-01-07, 13:42
-
By jogisarge in forum NEWSboard Programmierung
Antworten: 4
Letzter Beitrag: 22-11-06, 17:02
-
By lyrics in forum IBM i Hauptforum
Antworten: 4
Letzter Beitrag: 29-08-06, 10:03
-
By Olli1 in forum IBM i Hauptforum
Antworten: 2
Letzter Beitrag: 15-02-05, 14:25
-
By tomikra in forum IBM i Hauptforum
Antworten: 11
Letzter Beitrag: 30-08-04, 08:13
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks