Simple Invoices logo
    • CommentAuthorcpankonien
    • CommentTimeNov 21st 2007 edited
     permalink
    Hi Justin,
    Was wondering how difficult it would be to have emailed invoices go out with a return receipt request as a way of verifying that a customer actually got the invoice. I used to do that with thunderbird, but it's so much easier to email it from inside simpleinvoices.

    cheers!

    cliff
    • CommentAuthorjustin
    • CommentTimeNov 21st 2007 edited
     permalink
    Hey Cliff,

    ive no idea about that one

    you might want to google for php email read receipt

    not sure if php can do it

    note: we use phpmailer to handle the email

    let me know if you find anything

    Cheers

    Justin
    • CommentAuthorcpankonien
    • CommentTimeNov 26th 2007 edited
     permalink
    Justin,
    It works! I merely edited /modules/include/mail/class.phpmailer.php with what seemed like the correct values. note that sending emails worked fine before i did all the edits. i first just changed line 134 ( var $ConfirmReadingTo = "cliff@ccpip.com"; ) but that didn't seem to work, but i was testing it with a gmail account. i then read somewhere that phpmailer return receipt does not work with gmail, yahoo mail, etc. so i went back into class.phpmailer.php and changed other relevant info, namely

    line 61 to var $From = "cliff@ccpip.com";
    line 67 to var $FromName = "Cliff Pankonien";
    line 74 to var $Sender = "cliff@ccpip.com";
    line 134 to var $ConfirmReadingTo = "cliff@ccpip.com";
    line 156 to var $Host = "mail.ccpip.com";
    line 174 to var $SMTPAuth = true;
    line 180 to var $Username = "my email username";
    line 186 to var $Password = "my email password";

    so not sure if all that is necessary but it works! woohoo!
    • CommentAuthorapmuthu
    • CommentTimeNov 26th 2007 edited
     permalink
    This has been implemented in the current SVN - commit 1170.
    It can be set as a boolean variable $email_ack in the config/config.php without having to hack the PHPMailer class. It has been set to send the confirm receipt to the sender's email id if true.

    Thanks for the feature request.
    • CommentAuthorjustin
    • CommentTimeNov 26th 2007 edited
     permalink
    awesome!!

    great work guys!!

    Cheers

    Justin