Menu

#23 Email with PHP mail()

open
nobody
None
5
2013-01-16
2006-05-17
No

This is a drop in replacement for the WebCollab email
handling file.

It uses the standard PHP mail() function for those rare
cases where a normal SMTP server is unavailable.

This replacement will *not* work with non US-ASCII
characters. SMTP_AUTH is also non-functional.

Replace the existing file
[webcollab]/includes/email.php with this file.

Discussion

  • Andrew Simpson

    Andrew Simpson - 2006-05-17
     
  • Nobody/Anonymous

    Logged In: NO

    Remove extra line feeds at the end of this file to avoid error msgs each time mail is sent.

     
  • yysiu

    yysiu - 2007-04-30

    Logged In: YES
    user_id=1753840
    Originator: NO

    Great patch Andrew!

    What can I do to have the sender address read as the admin's address instead of anonymous@cgi13.cgi13 as it is right now??

    Thanks!

     
  • Andrew Simpson

    Andrew Simpson - 2007-05-02

    Improved version

     
  • Andrew Simpson

    Andrew Simpson - 2007-05-02

    Logged In: YES
    user_id=523452
    Originator: YES

    O.K. Cleaned up a few bugs in the original version. This version should work a bit better with a wider variety of mail servers.

    Not recommended with non US-ASCII characters in messages!
    File Added: email.php

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.