Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version: 15.0.14
Operating system and version: Ubuntu 16.04
Apache or nginx version: Apache 2.4.25
PHP version:7.1
The issue you are facing: I am unable to send welcome emails.
Is this the first time you’ve seen this error? (Y/N):N
Steps to replicate it:
- Right click a user while you are logged in as Admin
- Click resend welcome email.
- You will get a notification saying that sendmail failed.
The output of your Nextcloud log in Admin > Logging:
Swift_TransportException: Expected response code 220 but got an empty response
Here is the log from the error:
[settings] Error: Swift_TransportException: Expected response code 220 but got an empty response at <<closure>>
0. /var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 358
assertResponseCode("", [220])
1. /var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php line 147
readGreeting()
2. /var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php line 65
start()
3. /var/www/nextcloud/lib/private/Mail/Mailer.php line 180
send(Swift_Message {}, [])
4. /var/www/nextcloud/settings/Mailer/NewUserMailHelper.php line 169
send(OC\Mail\Message {})
5. /var/www/nextcloud/apps/provisioning_api/lib/Controller/UsersController.php line 915
sendMail(OC\User\User {}, OC\Mail\EMailTemplate {})
6. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
resendWelcomeMessage("User")
7. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
executeController(OCA\Provisioning ... {}, "resendWelcomeMessage")
8. /var/www/nextcloud/lib/private/AppFramework/App.php line 118
dispatch(OCA\Provisioning ... {}, "resendWelcomeMessage")
9. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
main("OCA\\Provisioni ... r", "resendWelcomeMessage", OC\AppFramework\ ... {}, {userId: "User ... "})
10. <<closure>>
__invoke({userId: "User ... "})
11. /var/www/nextcloud/lib/private/Route/Router.php line 297
call_user_func(OC\AppFramework\ ... {}, {userId: "User ... "})
12. /var/www/nextcloud/ocs/v1.php line 82
match("/ocsapp/cloud/u ... e")
13. /var/www/nextcloud/ocs/v2.php line 24
require_once("/var/www/nextcloud/ocs/v1.php")
POST /nextcloud/ocs/v2.php/cloud/users/User/welcome
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE