Scripted Sendmail

From Zoelife4U Wiki
Jump to: navigation, search

There are a few ways to send mail from scripts, below are some examples:

Contents

PHP

I wrote this as an alternative to the PHP mail() function for someone whe needed to set the Return-Path: header in emails

Perl

In Perl with Sendmail:


And in Perl with Net::SMTP:

Personal tools
Online Users
Zoelife4U: