I want to change the domain name from "localhost" to "www.someotherdomain.com" in the email template which send from Meteor verify/reset/signup process. It should be simply a global variable settings but I couldn't find it. Any tips would be much appreciated.
To change:
http://localhost:3000/reset-password/abcdefghijklmnoprqstuvwxyz
to:
http://www.someotherdomain.com/reset-password/abcdefghijklmnoprqstuvwxyz
Thanks,
UPDATE: found answer in the below link.
Meteor - What is the purpose of "ROOT_URL" and to what should it be defined?
You can set this with Meteor.absoluteUrl(). Ex:
Meteor.absoluteUrl("http://www.someotherdomain.com");
OR, set it with the environment variable ROOT_URL
Related
for the default clients (i.e. admin) the Base URL is set to /realms/something/account/. The Root URL is set to ${authBaseUrl}.
When I look in the clients overview, I can see the Base URL is shown as https://mydomain/auth/realms/something/account/
I'm trying to understand where the values mydomain and auth come from.
I´ve read Where does ${authAdminUrl} come from and how do I manipulate it? and can confirm that the variable is not set in standalone.xml and also not set via environment variable KEYCLOAK_HOSTNAME.
This page: https://www.keycloak.org/server/hostname#_administration_console doesn't mention authAdminUrl explicitly, but the value specified in --hostname-admin-url as suggested there got picked in admin clients that use authAdminUrl in my environment.
i'm trying to make a custom email configuration in the service provider, and when trying to send an email i got this error Argument 1 passed to Illuminate\Mail\MailManager::getConfig() must be of the type string, null given (src/Illuminate/Mail/MailManager.php on line 108 )
When posting a question like this, you'll get much better responses if you supply more context, for example:
The line of code that is calling getConfig() and the lines that define relevant variables just before that.
According to the documentation, it looks like you need to set the following in your project's .env file:
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=hello#example.com
MAIL_FROM_NAME="Example app"
Some ideas on the road to fixing it:
I would check everywhere for typos and spelling errors.
Clear the config: php artisan config:clear
Does every environment variable match the server your trying to send through? Note that if you're using a free SMTP server like Gmail you'll need to make many adjustments to your account before you can send... Probably use something like SendGrid if you don't know how to set this up yourself.
I would make sure that you're able to use telnet mail.example.com 587 and get a HELO from the SMTP server.
Try whatever other steps you can think of for troubleshooting then update your post with more complete information.
Good luck.
If I have added a property as https://example.com, and then decide I would rather add the whole domain using TXT, should I then remove the url-based property please?
It's not really needed !
Personnaly I kept both of them !
Like that, you can see more details datas : In the url-based you see only the subdomain concerned; and with the domain using TXT you see the all domain.
Sometime could be usefull to have also an or some subdomnains + the global..
I'm trying to publish a library using Jitpack. By default the groupId is set to com.github.username.repo but I would like it to be com.mydomain.libs instead. The official docs say that for that I need to
Add a DNS TXT record that maps git.yourcompany.com to https://github.com/yourcompany
What does this actually mean? Should I do this somewhere on github or on my mydomain.com website?
It turned out, that this is something to be done on the mydomain.com website, so there is no way currently to set up a custom domain name on Jitpack if you don't own that domain name.
When a user requests for reset password link, he's receiving the name with variables ($contact_name) instead of user's actual name.
SOLVED !!! :) .... $contact_user_user_name worked for me. Thanks to all those who tried to help me.
Edit:
For using user variables use $contact_user instead of $contact. So for the user's name use $contact_user_name.
Original:
View the source of the email and check for any spaces inside of $contact_name or other junk characters that are breaking up the variable. You can view the source by clicking on the HTML button, I believe. Clean up the variable and it should then work.