Skip to content

hlopetz/fake_sendmail.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

fake_sendmail.sh

================

Allows enable fake sendmail on LAMP.

Usage

========

  1. Edit destination in script when do you want to place letters. Example:
    prefix="/home/sanchiz/htdocs/sendmail/new"
    numPath="/home/sanchiz/htdocs/sendmail"
  1. Set script as executable.
    sudo chmod u+x,g+x fake_sendmail.sh
  1. Create symlink to /usr/bin.
    sudo ln -s /your_path/fake_sendmail.sh /usr/bin/fake_sendmail
  1. Add to php.ini.
    sendmail_path = fake_sendmail
  1. If you don't want create symlink, at once add to php.ini.
    sendmail_path = /your_path/fake_sendmail.sh
  1. Restart apache.
    sudo service apache2 restart

About

Allows enable fake sendmail on LAMP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%