Closed (fixed)
Project:
ecard
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2009 at 07:26 UTC
Updated:
2 Nov 2009 at 15:50 UTC
Jump to comment: Most recent file
When sending e-cards and checking 'notify me when card is picked (up?)'. The confirmation e-mail that is sent when someone reads the card mostly uses the right settings I set in the E-card options, but once in a while it uses the default values (root@localhost and the untranslated text).
I've been trying to figure out in what particular situations it sends the default values, but I havn't been able to figure that out. Best (but not ideal) thing I could do is change the default values in the code of the module.
Anyone else with this problem?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 552088.patch | 1.21 KB | stella |
Comments
Comment #1
DrupalYedi commentedI have the same problem.
Comment #2
stella commentedAttached patch fixes this problem - it removes the email address from the ecard settings form, as it wasn't being used anywhere. The site email address is now used for both the card collection notification email and to send a copy of the card sent to the sender. The problem with root@localhost has also been fixed.
Comment #3
kars-t commented#552088 by stella | DrupalYedi: Fixed Sometimes uses default settings to send confirmation e-mail.
Added this as it makes sense.
Comment #4
DrupalYedi commentedThanks for Patch #2!
Because I'm using the 6.x-1.6 Version and the patch doesn't work for this version I changed only the one line on ecard.module line 533 like it is done in the patch
From:
$site_email = variable_get('site_email', 'root@localhost');
To:
$site_email = variable_get('site_mail', ini_get('sendmail_from'));
It works for me to send the Email from sites Email Adress instead of root@localhost
Hope it helps other users of the 6.x-1.6 Version.