Super kudos and thanks for this project! What a time saver! You rock!

Has there been any effort put into mail handling? This handbook page outlines several possibilities: http://drupal.org/node/201981. Fakemail seems like it would be a good fit.

Cheers,

sicjoy

Comments

MichaelCole’s picture

Assigned: Unassigned » MichaelCole

Good idea, I'll check it out!

sikjoy’s picture

I got this working in about 5 mins:

http://www.drupal4hu.com/node/55

pros: quick to set up, gets the job done

cons: doesn't sort mail effectively, the file owner is www-data & mod is 0600

sikjoy’s picture

Added the file /home/quickstart/quickstart/sendmail.php & made executable:

#!/usr/bin/php
<?php
$input = file_get_contents('php://stdin');
preg_match('|^To: (.*)|', $input, $matches);
$t = tempnam("/home/quickstart/mail", $matches[1]);
file_put_contents($t, $input);
chmod($t, 0644);

Edited php.ini:

sendmail_path=/home/quickstart/quickstart/sendmail.php

Made the directory /home/quickstart/mail & made it writable by everybody.

Added a softlink from the desktop to the mail folder.

Restarted Apache.

MichaelCole’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.