Anonymous user
Send email: Difference between revisions
m
Alphabetize
m (Alphabetize) |
|||
Line 46:
#Include COM.ahk</lang>
=={{header|Lotusscript}}==▼
<lang Lotusscript>Dim session As New NotesSession▼
Dim db As NotesDatabase▼
Dim doc As NotesDocument▼
Set db = session.CurrentDatabase▼
Set doc = New NotesDocument( db )▼
doc.Form = "Memo"▼
doc.SendTo = "John Doe"▼
doc.Subject = "Subject of this mail"▼
Call doc.Send( False )▼
</lang>▼
=={{header|Java}}==
<lang Java>import java.util.Properties;
import javax.mail.MessagingException;
Line 123 ⟶ 109:
Transport.send(message);
}
▲}</lang>
▲<lang Lotusscript>Dim session As New NotesSession
▲Dim db As NotesDatabase
▲Dim doc As NotesDocument
▲Set db = session.CurrentDatabase
▲Set doc = New NotesDocument( db )
▲doc.Form = "Memo"
▲doc.SendTo = "John Doe"
▲doc.Subject = "Subject of this mail"
▲Call doc.Send( False )</lang>
=={{header|Mathematica}}==
Mathematica has the built-in function SendMail, example:
|