Jump to content

Send email: Difference between revisions

no edit summary
m (→‎{{header|TXR}}: Remove spurious second copy of hash bang header.)
No edit summary
Line 1,247:
"very important subject",
"Body text\n");</lang>
 
=={{header|Perl 6}}==
<lang perl6># Reference: https://github.com/retupmoca/p6-Email-Simple
use Email::Simple;
 
my $eml = Email::Simple.new($raw-mail-text);
say $eml.body;
 
my $new = Email::Simple.create(header => [['To', 'mail@example.com'],
['From', 'me@example.com'],
['Subject', 'test']],
body => 'This is a test.');
say ~$new;</lang>
 
=={{header|PHP}}==
351

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.