Skip to content

mail() does not work out of the box #135

Closed
@coconitro

Description

@coconitro

It seems that the sendmail_from config setting isn't right? If additional configuration is required for this to work should this be noted in the documentation?

When running php -i | grep sendmail_path I get this

php -i | grep sendmail_path
sendmail_path =>  -t -i  =>  -t -i 

When running this script

<?php 
mail('[email protected]', 'Subject', 'Body');
?>

The results are this:

sh: 1: -t: not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions