..
In Unix and Linux systems you can use the software sendmail for sending e-mail messages. We can then enrich our application Perl / CGI with the ability to send email with a simple listing in the code:
# Code ... open (MAIL, "| / usr / lib / sendmail-t"); print MAIL "To: $ recipient \ n"; print MAIL "From: $ sender \ n"; print MAIL "Subject: $ subject \ n"; print MAIL "Body of the message .... \ n '; print MAIL "Message ... \ n"; close (MAIL); # Code ...
| |
Linux (Course)
Complete guide to open-source system. From 49 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |