addFile
Versionshinweise | 12.1 |
---|
Code
void MailUtils.addFile(ScriptMail mail, String path)
Beschreibung
Fügt eine Datei der Mail als Anhang hinzu. Der Applikationsserver muss auf die Datei zugreifen können.
Parameter
- mail - Ein ScriptMail Objekt zum Versenden einer Mail.
- path - Der voll qualifizierte Pfadname der Datei.
Beispiele
ScriptMail mail = MailUtils.createMail("Betreff");
MailUtils.addFile(mail, "c:\\anhang.txt");