How to change the content of Email templates in MediaWiki - mediawiki

I have restricted the account creation to only bureaucrats. That is, only bureaucrats can create accounts for other users.
A confirmation email is sent to the newly created user on successful account creation in MediaWiki. But, would like to know where can i change the content of Confirmation Email template that i receive in MediaWiki.
Where can i find the various email templates used in MediaWiki?
For eg: Content of Confirmation Email upon successful account creation is as below.
Someone, probably you, from IP address ::1,has changed the email
address of the account "Admin" to this address on admin's Wiki!.
To confirm that this account really does belong to you and reactivate
email features on admin's Wiki!, open this link in your browser:
I would like to change the above content but couldn't find where these email contents are stored or from where it is invoked.
Any help is appreciated.

The email templates are stored as normal system messages, in the MediaWiki namespace, e.g. MediaWiki:Notificationemail_body_changed.
You can filter out all relevant system messages like this: Special:AllMessages&prefix=Notificationemail
Currently, there are four:
MediaWiki:notificationemail_body_changed
MediaWiki:notificationemail_body_removed
MediaWiki:notificationemail_subject_changed
MediaWiki:notificationemail_subject_removed
Those pages will give you the message in your wiki's default language. To change a specific language (that a user might have chosen), use MediaWiki:notificationemail_subject_removed/ar (Arabic), MediaWiki:notificationemail_subject_removed/en (English), etc

#leo's answer is correct for messages sent regarding email authentication.
All other email messages as related to changes in pages, etc., are stored in system messages that start with enotif_, and you can see them all using this filter:
Special:AllMessages&prefix=enotif_.
The messages for vanilla* MediaWiki are:
enotif_impersonal_salutation
enotif_subject_deleted
enotif_subject_created
enotif_subject_moved
enotif_subject_restored
enotif_subject_changed
enotif_body_intro_deleted
enotif_body_intro_created
enotif_body_intro_moved
enotif_body_intro_restored
enotif_body_intro_changed
enotif_lastvisited
enotif_lastdiff
enotif_anon_editor
enotif_body
And you can see them all using this filter:
Special:AllMessages&prefix=enotif_
* People using extension:Echo have a few other messages to change.

Related

jackhenry.dev/portal not letting me register with work email

When I try to create a login to https://jackhenry.dev/portal/ with my work email I get a 401 from https://jackhenry.dev/portal/oauth2callback/?state=%....
One of my recent x-request-ids is 6a17801cc34176c4c680910d1a8bfe3d. Is there something my organization has to enable with the google account to get this to work?
It appears that my personal email would allow me to generate an account. Thus I think it may be something that my organization may have set.

Opencart- order emails and enquiry form email ending up in admin's junk mail folder

New order emails and enquiry form emails, both ending in admin's spam/junk folder. I am not able to rectify it. Using 'mail' configuration instead of 'smtp' in the console. Have put '-F' in front of mail parameters. Tried using the port '587', '465' for for smtp.office365.com. Need help!
For those running into this issue with OpenCart here are some things you should verify.
Ensure your email address in System->Store->Email matches the email used in System->Mail->SMTP Username
In System->Mail->SMTP Hostname you may need to add the prefix "ssl://" or "tsl://" before your mail.servername.com this is not very clear and easy to miss if you're not sure which one to use, try ssl:// first then tsl:// and send yourself a test email with the contact form.
If using Cpanel, ensure there is an SPF record for your domain. This is found in Cpanel->Email->Email Deliverability
To test if emails are actually working the best way is to login into a test account and send a "Contact Us" email. If the page goes blank after submission, there is likely an issue with settings.
I have found using the OpenCart Default "Mail" setting will always result in emails being marked as spam, so you'll need to get in there and set them up with SMTP.

Mailto that autopopulates the To: field with original sender

I'd like to know if the following is actually possible:
A mailto link that does not contain an email address, but somehow auto populates the TO: field with the email of the original sender.
For example:
"a href="mailto:ORIGINALSENDER?subject=UNSUBSCRIBE&body=I would like to unsubscribe from future emails">Click here to send an unsubscribe email /a"
Is this possible without having to specify an email address in the link itself? Is there a class or function i can call to autopopulate the To: field?
The reason i ask is we send out curated email templates to individual customers and they are sent via a specific system. This system does not have an unsubscribe function, unfortunately. I am not able to use or suggest a system that does as i am but a lowly cog in the corporate machine.
In a word, no, not dynamically in an email that I'm aware of. Are you sending from the same email address each time? Can you set up an additional email address to handle unsubscribes and just have that hardcoded? (i.e. unsubscribe#yourdomain.com and have that monitored)
If you're using different email addresses, then consider replacing 'click here to unsubscribe' with something to the effect of 'to unsubscribe, reply to this email with unsubscribe in the subject line'
Lastly, making a recommendation and giving a good argument for using a system that better suits your requirements is a first step towards being more than a lowly cog in the corporate machine :)

Change email preferences for a Single Email Address in JIRA

I'm on JIRA 4.1.2
When creating notifications, I'd like to notify a distribution group on our Exchange server, rather than create a JIRA user group. This is to avoid having to constantly update the group membership to reflect the distribution list as people move in and out of the list.
I can use the email address "distro#domain.com" successfully in my notification schemes as a Single Email Address, and everyone on the list receives emails as expected, but the emails are plain text, when I would prefer HTML.
Any individual user can update their email preferences, but I can't figure out how to do this for an email address that doesn't correspond to a user on the system. Any ideas on how to accomplish that?
EDIT
Now I'm even more confused. I found my way to the User Default Settings page, and the default for emails is listed as HTML, yet for the list I'm sending to, it's coming through as plain text.

How do I store my site user's email addresses in both Aweber my MySQL database?

My web site has an opt-in form for user's email addresses. The form will have fields such as name, email and phone number.
Upon submission, I would like the data to also be inserted into my MySQL database.
However, I would also like the email address to be added to an AWeber email subscriber list.
Is this possible?
Yes, it is posible to store the data in a database.
Posting data via a 3rd party script is against Awebers Terms of Service. So it is necessary to take another route.
The way to do it is to allow your user to submit their information to Aweber via the JavaScript form, but choose the setting to request that Aweber send the user information back to you, via your thank you page.
You can use the thank you page to store the user data in your database.