Send email: Difference between revisions
Content added Content deleted
m (→PureBasic: fixed Purebasic -> PureBasic) |
(Added PicoLisp) |
||
Line 235: | Line 235: | ||
=={{header|PHP}}== |
=={{header|PHP}}== |
||
<lang php>mail('hello@world.net', 'My Subject', "A Message!", "From: my@address.com");</lang> |
<lang php>mail('hello@world.net', 'My Subject', "A Message!", "From: my@address.com");</lang> |
||
=={{header|PicoLisp}}== |
|||
PicoLisp has a built-in '[http://software-lab.de/doc/refM.html#mail mail]' |
|||
function. A minimal call would be |
|||
<lang PicoLisp>(mail "localhost" 25 "me@from.org" "you@to.org" "Subject" NIL "Hello")</lang> |
|||
Instead of "Hello" an arbitrary number of arguments may follow (possibly |
|||
containing executable expressions) for the message body. |
|||
The 6th argument (here 'NIL') may specify a list of attachments. |
|||
=={{header|Pike}}== |
=={{header|Pike}}== |