Email not sent to new user

Mehr
2 Jahre 1 Monat her - 2 Jahre 1 Monat her #148510 von sherry721
COM_KUNENA_MESSAGE_CREATED_NEW
I am currently trying to create a new user, but whenever I save the new users it only says that sending the email has failed.

Unfortunately there is no way to test the email settings in Limesurvey (send a test mail).

Is there a way I can find out what went wrong?

I saw other people's question to find out root cause, but it still failed.:(

Limesurvey Using Version 2.62.2+170203 on Ubuntu 16.04 server
Mail server using version Microsoft Exchange 2010

Below is my email settings at Global settings -> Email settings
Default site admin email: Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!
Administrator name: sherry.lin
Email method: SMTP
SMTP host: tpmail.tpvaoc.com
SMTP username: sherry.lin
SMTP encryption: Off
SMTP debug mode: Off
Email batch size: 50


Limesurvey server didn't have below log after I occurred sent email failed.
/var/log/apache2/server-error.log
and
/var/log/apache2/mail.log





Anhang:
Last edit: 2 Jahre 1 Monat her by sherry721.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
2 Jahre 1 Monat her #148525 von jelo
COM_KUNENA_MESSAGE_REPLIED_NEW
Setting SMTP encryption off means you send your email credentials unencrypted through the internet.
Not the best thing when your company is listed in a stock exchange. A third party could get access to your email box.

First, you might try to use your complete emailadress as SMTP username.
But you should ask the admin of the exchange server if SMTP usage from outside is allowed.
This is not activated by default. So you might won't be able to send from LimeSurvey via Exchange without the help from your admin.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Jahre 1 Monat her #148527 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
And why not try "SMTP debug mode" ON, this might give you some idea where the problem is.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Jahre 1 Monat her #148676 von sherry721
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi Jelo,

Thanks for your reply, I will enable SMTP encryption.

The admin of exchange server gave relay permission to my account. (LimeSurvey server had installed Redmine system and Redmine can successfully use same emailaddress to send mail)

So, LimeSurvey should use same emailaddress to send via Exange.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Jahre 1 Monat her #148677 von sherry721
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi holch,

It has same error message after I choose "Always" for "SMTP debug mode".

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Jahre 1 Monat her #148679 von sherry721
COM_KUNENA_MESSAGE_REPLIED_NEW
I found weird situation.
If I used "Configuration"-->"Create/edit user groups"-->"Email user group", message sent successfully!
If I used "Configuration"-->"Manage survey administrators"-->"Add user", it will show "Email to XXXXX failed. And the top will show below error.

2017-02-15 06:19:14 CLIENT -> SERVER: QUIT 2017-02-15 06:19:14 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 3 Tage her #178527 von hmd_bakhshi
COM_KUNENA_MESSAGE_REPLIED_NEW
I have another odd problem.
I use default php mail in limesurvey. when a new user signup, it says that the password sent to his/her email. but no mail sent.
I try another way at login page by forgot password. after entering username and email, the system says that an email sent to you. but no email sent.
can any body help me in this problem?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 2 Tage her #178530 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
This is most probably a problem with php mail in general and your hosting environment. I would always recommend to use SMTP over the other methods. Because PHP mail is often already blocked on server level by your hosting company (to avoid spam or malware sending from this hosting account) or because the receiving email servers consider it as spam. PHP mail is not a good method. Go with SMTP.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 2 Tage her #178533 von hmd_bakhshi
COM_KUNENA_MESSAGE_REPLIED_NEW
ok. I try using smtp with gmail account with these configs:\Email method: SMTP
SMTP host: smtp.gmail.com:587
SMTP username: Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!
SMTP password: xxxxxxx
SMTP encryption: TLS

but it still doesn't work. when I try to retrieve my password it says sending email failed!

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 2 Tage her #178537 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
Well, at least you are a step ahead: Before it said it sent the email, but the email never arrived. So you don't know what happened. So it could have been because of spam filters, or a block from your provider, etc.

Now at least you know, that there was a problem sending the emails. Gmail is a little tricky when sending mass emails. You need to have very specific configurations for it to work. Try without encryption for now, just to identify if the problems is there somehow. And make sure that your credentials are correct, of course. ;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 2 Tage her #178538 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
You might want to check the other threads in the forum about how to get Gmail working for this, for example this one: www.limesurvey.org/forum/can-i-do-this-w...ey/107506-smtp-gmail

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 2 Tage her #178549 von hmd_bakhshi
COM_KUNENA_MESSAGE_REPLIED_NEW
I check the page but it's not helpful.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 2 Tage her - 3 Monate 2 Tage her #178564 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
So you tried this in Gmail?

Then I went to here: www.google.com/settings/security/lesssecureapps and changed the settng to ON.


I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Last edit: 3 Monate 2 Tage her by holch.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Wochen her #178704 von hmd_bakhshi
COM_KUNENA_MESSAGE_REPLIED_NEW
yes. I tried it, but doesn't solve my problem!

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Monate 3 Wochen her #178734 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
When it comes to problems with emails, experience here in the forum has shown, that the problem was mostly with the email server or the email settings. Otherwise we would have a lot of complaints here in the forum, if there was something wrong with the email functions of Limesurvey. So you will need to try with different email accounts (always go for SMTP) and see if one works, then check what is different with this email account than with the others. As we have no access to your server installation, there is very little we can do here in the forum, besides the hints we already gave.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha