Closed lyandr closed 7 years ago
I too experience the same issue with Cachet 2.4.0-dev and php 5.6.31
What email addresses did you try?
I've tried any email address. My work, my colleagues, my personal. No matter what address I enter, it says "The emails must be a valid email address.". The format is correct xxx@yyy.zzz. Don't want to put email addresses on a public forum.
Yeah I understand, I don't need an exact email just a solid comparison. Could you attain an error log?
Edit: don't forget to redact your email if so.
I can add users manually and the email address is accepted and works with the notification engine.
Nothing in settings > log. No laravel log for 4 days, do I need to enable a higher level of logging?
Edie: Set debug to true in app.php
Are emails being sent? It could be that you have the QUEUE_DRIVER
setting to database
or redis
but nothing is running the queue.
Hi James,
Please see .env config below. I've hidden some identifiable information.
Thanks, Ben
APP_ENV=production
APP_DEBUG=false
APP_URL=http://localhost
APP_KEY=base64:******************************
DB_DRIVER=mysql
DB_HOST=localhost
DB_UNIX_SOCKET=null
DB_DATABASE=cachet
DB_USERNAME=**************
DB_PASSWORD=********************
DB_PORT=null
DB_PREFIX=null
CACHE_DRIVER=apc
SESSION_DRIVER=file
QUEUE_DRIVER=sync
CACHET_BEACON=true
CACHET_EMOJI=false
CACHET_AUTO_TWITTER=true
MAIL_DRIVER=smtp
MAIL_HOST=smtp.uk.v***********.***
MAIL_PORT=25
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ADDRESS=UKITStatus@v******c.***
MAIL_NAME=null
MAIL_ENCRYPTION=null
REDIS_HOST=null
REDIS_DATABASE=null
REDIS_PORT=null
GITHUB_TOKEN=null
NEXMO_KEY=null
NEXMO_SECRET=null
NEXMO_SMS_FROM=Cachet
Well, you need to set MAIL_NAME
I believe. Try that.
I have added some text in to Mail_Name field, still no joy :(
Mail leaves Cachet if I do test:
But sending invite still fails:
Same problem here. Using normal email address.
At least it's not just me, that makes me happier that I didn't screw something up lol
This is so weird... I just tried out on 2.3 and It worked fine, both from the dashboard and invitation page.
Same problem here on a new install.
Your demo site doesn't work either. https://dev.cachethq.io/dashboard/team/invite
EDIT
Just to clarify, these are the Team invites.
Just to clarify, these are the Team invites.
Ah right! I'll investigate this shortly.
Got the same problem and was able to fix it quickly by removing the rule in
app\Bus\Commands\User\InviteUserCommand.php
public $rules = [
#'emails' => 'required|array|email',
];
Apparently, there's some problem with de validation rule.
Fixed in v2.4
Nice work guys, working now. :)
Hello,
i installed cachet on cloud foundry successfully. But the only things that don't work is when i try to invite a new member: each time i entered an email address and click on invite button i stay on the same page with the following error message: "Whoops. The invite could not be sent, please try again. The emails must be a valid email address."
The test mail and mails for subscriptions work so for me it is not a mail configuration issue. Or maybe i didn't undesrtand the purpose of this fonctionnality :s
Cachet version: 2.4.0-dev Php: 5.6.30