View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04013Bug reportsSurvey participants (Tokens)public2009-12-24 11:03
ReporterMazi Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.87RC5 
Summary04013: When sending invitations the "from" field can't be changed
Description

How to reproduce:

  1. Set a not valid admin email address at survey settings.
  2. At a survey which uses tokens go to the token screen and click the "send email invitations" button.
  3. At the "from" field enter a valid email address
  4. Click "Send invitations"
  5. --> I get the following error message: "Email to XXX (xxx@web.de) failed. Error Message: The following From address failed: admin@localhost"

Although a valid "from" address was entered the default address from the survey settings is used, the "from" field entry is ignored.

Additional Information

Solution:

  1. Make the script use the from field address.
    OR
  2. Disable the "from" field so the user won't be irritated if the address he entered at the "from" field won't be taken into account.
TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)8171
I will donate to the project if issue is resolved
Browserall
Database type & versionMS SQL Server 2005
Server OS (if known)Win XP Sp 3
Webserver software & version (if known)Apache 2.2
PHP Version5.2
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

lemeur

lemeur

2009-12-21 15:58

reporter   ~10629

I can't reproduce the issue: when sending invitation I can change the From field.

Have you chekced with a multi-lingual survey ? In this cas the Form field must be updated on each language tab.

Mazi

Mazi

2009-12-21 17:01

updater   ~10630

I have used the 1.8 sample survey and activated tokens for it, using only english as default language.
Is it possible that the email methoed is important when trying to reproduce the error? I get "SMTP server error: ungueltige mail-adresse / invalid mail-address" because the admin email address can't connect to the SMTP server (it's not registered there) but the address I entered manually is the correct one for connecting to SMTP. The error message though does only mention the admin email address. Strange...

c_schmitz

c_schmitz

2009-12-23 23:03

administrator   ~10668

SMTP is always using the connection data provided in global settings (at least it should).

The 'From' email is NOT used for connecting to SMTP (and not intended for that). It is only the sender address on the envelope of your email but does not care about SMTP or its settings.

I guess this is not a bug.

Mazi

Mazi

2009-12-24 00:18

updater   ~10670

Closed -> no bug

lemeur

lemeur

2009-12-24 10:37

reporter   ~10671

Hi Carsten, your assumption is not true. Some SMTP servers can be setup so that you can send email only using an email address within the local domain (or even using a valid local email address): this is one way to prevent some spam to be sent from local machine with usurpated email adresses.

I guess this is the issue here. However as I said, I wasn't able to reproduce the bug: when I modify the From field just before sending invitations, the new from field is correctly used instead of the default one.

c_schmitz

c_schmitz

2009-12-24 10:41

administrator   ~10672

Thibault: Yeah, but that is only an additional restriction by the SMTP and still not a bug ;).

lemeur

lemeur

2009-12-24 11:03

reporter   ~10673

Sure, the bug would have been if the From field from the invite-screen wasn't overwritting the Default survey -admin email as described by Mazi. But I wasn't able to reproduce this particular issue.

Issue History

Date Modified Username Field Change
2009-12-21 12:44 Mazi New Issue
2009-12-21 12:44 Mazi Status new => assigned
2009-12-21 12:44 Mazi Assigned To => user372
2009-12-21 12:44 Mazi LimeSurvey build number => 8171
2009-12-21 12:44 Mazi Browser => all
2009-12-21 12:44 Mazi Database & DB-Version => MS SQL Server 2005
2009-12-21 12:44 Mazi Operating System (Server) => Win XP Sp 3
2009-12-21 12:44 Mazi Webserver => Apache 2.2
2009-12-21 12:44 Mazi PHP Version => 5.2
2009-12-21 12:52 user372 Assigned To user372 => c_schmitz
2009-12-21 15:58 lemeur Note Added: 10629
2009-12-21 15:58 lemeur Status assigned => feedback
2009-12-21 17:01 Mazi Note Added: 10630
2009-12-23 00:18 Mazi Status feedback => assigned
2009-12-23 23:03 c_schmitz Note Added: 10668
2009-12-24 00:18 Mazi Note Added: 10670
2009-12-24 00:18 Mazi Status assigned => closed
2009-12-24 00:18 Mazi Resolution open => no change required
2009-12-24 10:37 lemeur Note Added: 10671
2009-12-24 10:41 c_schmitz Note Added: 10672
2009-12-24 11:03 lemeur Note Added: 10673
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)