View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
05474Bug reportsOtherpublic2012-03-14 21:08
Reporteruser14164Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05474: smtp management fail to work since upgrade to 11026
Description

Hello,

I've upgraded LS 1.91+ to 11026 version yesterday.

Since the upgrade, the smtp session manager for sending invitations or reminders seem to be out of work.

When I'm trying to send email I get some new lines at the top of the page :
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "221 2.0.0 bizpsie4.9services.com 9services closing connection "
SMTP -> get_lines(): $data is "221 2.0.0 bizpsie4.9services.com 9services closing connection "
SMTP -> FROM SERVER:221 2.0.0 bizpsie4.9services.com 9services closing connection

I use basic smtp setup with connection to my isp smtp server without authentification.

I check smtp server settings and all seem to be fine.

I've tried other smtp servers with my isp technical hotline but there's always trouble

Steps To Reproduce

Create a survey with tokens and try to send invitations or reminders.

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)11026
I will donate to the project if issue is resolvedNo
BrowserFirefox 4.0.1
Database type & versionmysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1
Server OS (if known)CentOS release 5.6 (Final)
Webserver software & version (if known)Apache/2.2.3
PHP VersionPHP 5.2.10

Relationships

has duplicate 05517 closedc_schmitz Multiple E-Mailadresses per Survey participant not working 

Users monitoring this issue

There are no users monitoring this issue.

Activities

user14164

2011-09-26 11:16

  ~16323

Hello,

I try smtp sessions with other isp like gmail (TLS,port 587) for example. Under gmail, the session seem to work but i get complaining about multiple adress invitations eg : "user1@domain.com;user2@domain.com". The script return this error message "Sending ... failed. You must give at least one email adress (translate from french) like if it doesn't understand the semi colon that works with previous versions of LS.

Best regards,
GJ

user14164

2011-09-30 09:57

  ~16353

Hello,

I wanna complete my report with other errors meet during the smtp treatment of emails processing by LS :

SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 2.1.0 sender ok"
SMTP -> get_lines(): $data is "250 2.1.0 sender ok"
SMTP -> FROM SERVER:250 2.1.0 sender ok
SMTP -> FROM SERVER:
SMTP -> ERROR: RCPT not accepted from server:

SMTP -> FROM SERVER:
SMTP -> ERROR: MAIL not accepted from server:

SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 2.1.5 recipient ok"
SMTP -> get_lines(): $data is "250 2.1.5 recipient ok"
SMTP -> FROM SERVER:250 2.1.5 recipient ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "503 5.5.0 sender already specified"
SMTP -> get_lines(): $data is "503 5.5.0 sender already specified"
SMTP -> FROM SERVER:503 5.5.0 sender already specified
SMTP -> ERROR: RCPT not accepted from server: 503 5.5.0 sender already specified

SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "503 5.5.0 sender already specified"
SMTP -> get_lines(): $data is "503 5.5.0 sender already specified"
SMTP -> FROM SERVER:503 5.5.0 sender already specified
SMTP -> ERROR: MAIL not accepted from server: 503 5.5.0 sender already specified

SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 2.1.5 recipient ok"
SMTP -> get_lines(): $data is "250 2.1.5 recipient ok"
SMTP -> FROM SERVER:250 2.1.5 recipient ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "503 5.5.0 sender already specified"
SMTP -> get_lines(): $data is "503 5.5.0 sender already specified"
SMTP -> FROM SERVER:503 5.5.0 sender already specified
SMTP -> ERROR: RCPT not accepted from server: 503 5.5.0 sender already specified

These smtp session errors appears during treatment of valid email adresses and I get this message at the top of the LS result page :

Invalid address: Invalid address: eva@skiabondance.com>Invalid address: coInvalid address: direction-ot@loireforez.com>Invalid address: piInvalid address: welcome@flaine.com>Invalid address: mInvalid address: charlotte.nuques@megeve.com>Invalid address: Invalid address: infos@saintjeandesixt.com>Invalid address: Invalid address: vtt@valthorens.com>SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "503 5.5.0 sender already specified "
SMTP -> get_lines(): $data is "503 5.5.0 sender already specified "
SMTP -> FROM SERVER:503 5.5.0 sender already specified
SMTP -> ERROR: SMTP server rejected quit command: 503 5.5.0 sender already specified

Best regards,
Guillaume JAOUEN

c_schmitz

c_schmitz

2011-10-19 18:19

administrator   ~16476

So, does this happen also with tokens having a single email addres, or does this only affect tokens with two email addresses?

user14164

2011-10-19 18:39

  ~16477

Hello :o) ,

These errors appears only on invitation with multiple email addresses split by semi-colon.

This format was supported by previous versions of LS and was very helpful.

During treatment none of the email addresses split with semi-colon get a message even the fisrt one.

Best regards,
Guillaume

user14164

2011-10-21 13:48

  ~16488

Hello,

You've closed this bug report but after upgrading LS 1.91+, I meet now new problems with the email treatment of LS :

  • When trying to send reminders to participants of a survey, LS Version 1.91+ Build 11228 send all the tokens to all the participants : for example, sending a reminder for a survey to 10 participants generate 10 emails for 10 tokens to each participant email adress so 10x10=100 emails !!!

I didn't see any more details after that because the command timed out (500 screen response from apache):
output of error.log :

[Fri Oct 21 12:48:07 2011] [warn] mod_fcgid: read data timeout in 360 seconds
[Fri Oct 21 12:48:07 2011] [error] [client 192.168.0.24] Premature end of script headers: admin.php, referer: http://etudes.rlconsultant.fr/admin/admin.php?action=tokens&sid=52351&subaction=remind
[Fri Oct 21 12:48:07 2011] [error] [client 192.168.0.24] File does not exist: /var/www/etudes.rlconsultant.fr/web/error, referer: http://etudes.rlconsultant.fr/admin/admin.php?action=tokens&sid=52351&subaction=remind

LS is running under ispconfig 3.0.3.2 with fcgi on my servers.

I receive smtp errors responses from some others smtp servers :

  • 5.6.0 Message contains invalid header
c_schmitz

c_schmitz

2011-11-07 18:28

administrator   ~16607

Please update to the latest version then report if the problem persists.

c_schmitz

c_schmitz

2011-11-15 15:17

administrator   ~16673

Any feedback?

user14164

2011-11-15 16:51

  ~16687

Hello,

Since last upgrade, everything is working properly now.

I wish to say thank you to you and all the team behind LS that make a really great work.

Best regards,
Guillaume

c_schmitz

c_schmitz

2011-11-15 16:58

administrator   ~16688

Great to hear. You are most welcome.

Related Changesets

LimeSurvey: Yii 06dd52df

2011-10-20 11:17:26

c_schmitz

Details Diff
Fixed issue 05474: Not possible to send a token to multiple email addresses

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11226 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05474
mod - application/controllers/admin/tokens.php Diff File
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2011-09-23 11:51 user14164 New Issue
2011-09-26 11:16 user14164 Note Added: 16323
2011-09-26 11:34 user14164 Issue Monitored: user14164
2011-09-26 15:24 Mazi Assigned To => c_schmitz
2011-09-26 15:24 Mazi Status new => assigned
2011-09-30 09:57 user14164 Note Added: 16353
2011-10-18 11:29 Mazi Relationship added related to 05491
2011-10-19 18:19 c_schmitz Note Added: 16476
2011-10-19 18:19 c_schmitz Status assigned => feedback
2011-10-19 18:39 user14164 Note Added: 16477
2011-10-19 18:39 user14164 Status feedback => assigned
2011-10-19 18:46 c_schmitz Relationship deleted related to 05491
2011-10-19 18:47 c_schmitz Relationship added has duplicate 05517
2011-10-20 21:18 c_schmitz Status assigned => resolved
2011-10-20 21:18 c_schmitz Fixed in Version => 1.91+
2011-10-20 21:18 c_schmitz Resolution open => fixed
2011-10-21 13:48 user14164 Note Added: 16488
2011-10-21 13:48 user14164 Status resolved => feedback
2011-10-21 13:48 user14164 Resolution fixed => reopened
2011-11-07 18:28 c_schmitz Note Added: 16607
2011-11-15 15:17 c_schmitz Note Added: 16673
2011-11-15 16:51 user14164 Note Added: 16687
2011-11-15 16:51 user14164 Status feedback => assigned
2011-11-15 16:58 c_schmitz Note Added: 16688
2011-11-15 16:58 c_schmitz Status assigned => closed
2011-11-15 16:58 c_schmitz Resolution reopened => fixed
2012-03-14 21:08 c_schmitz Changeset attached => Import 2012-03-09 13:30:34 Yii 06dd52df