Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001145Piwigonotificationpublic2009.08.26 17:232009.08.26 22:41
Assigned Torub 
PlatformLinux OSGentooOS Version2.6.24.5
Product Version2.0.3 
Target VersionFixed in Version2.0.4 
Summary0001145: Mails are sent in double
DescriptionForum : http://fr.piwigo.org/forum/viewtopic.php?pid=118626#p118626 [^]

Mails sent, with PHP mail() function and not SMTP, to users when (un)subscribe to notification or when the webmaster send notification are sent in double. One to 'user@mail.com' and one to '"pseudo" <user@mail.com>'.

In the received mail, the "To:" header is duplicate like this :
To: user@mail.com
Subject: =?iso-8859-1?Q?[Site_Title]_Inscription_=E0_la_notification_par_mail?=
From: "Site Title" <webmaster@mail.com>
Reply-To: "Site Title" <webmaster@mail.com>
To: "pseudo" <user@mail.com>

The matter is when Piwigo call the PHP mail() function in pwg_send_mail().
'user@mail.com' is the mail() first argument and 'To: "pseudo" <user@mail.com>' is put by pwg_mail() in the additional headers (4th mail() argument).
Steps To Reproduce1/ Install Piwigo (1.7.3 or 2.0.x) or add a test account to an existing Piwigo installation
2/ (Un)Subscribe the test account to notification
3/ The test account receive a double mail.

Always work with @laposte.net and @free.fr mails.
Don't work with @gmail.com mails.
TagsNo tags attached.
Database engine and version5.0.44
PHP version5.2.5
Web serverApache 2.0.x
Attached Files

- Relationships

-  Notes
svn (reporter)
2009.08.26 22:15

[Subversion] r3798 by rub on trunk

-----[Subversion commit log]----------------------------------------------------
Bug 1145: Mails are sent in double
svn (reporter)
2009.08.26 22:17

[Subversion] r3799 by rub on branch 2.0

-----[Subversion commit log]----------------------------------------------------
merge -c3798 from trunk to branch 2.0

Bug 1145: Mails are sent in double

- Issue History
Date Modified Username Field Change
2009.08.26 17:23 hpsam New Issue
2009.08.26 17:23 hpsam browser => any
2009.08.26 17:23 hpsam MySQL version => 5.0.44
2009.08.26 17:23 hpsam PHP version => 5.2.5
2009.08.26 17:23 hpsam Web server => Apache 2.0.x
2009.08.26 17:25 rub Status new => assigned
2009.08.26 17:25 rub Assigned To => rub
2009.08.26 22:15 svn Checkin
2009.08.26 22:15 svn Note Added: 0002861
2009.08.26 22:17 svn Checkin
2009.08.26 22:17 svn Note Added: 0002862
2009.08.26 22:22 rub Status assigned => closed
2009.08.26 22:22 rub Resolution open => fixed
2009.08.26 22:22 rub Fixed in Version => 2.0.4
2009.08.26 22:41 plg Category other => notification

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker