plaintext confirmation email

Sphregal

Member
Registered
Joined
Jul 18, 2020
Messages
22
Points
13

Reputation:

how to disable html email for email confirmation of registration. I want to send only plaintext
 

cmd

Collaborate
Collaborate
Registered
Joined
Feb 18, 2020
Messages
217
Points
73

Reputation:

Xenforo sends both HTML and plain text. If the email client doesn't support HTML, then it will automatically display the plain text version of the email.
 

Sphregal

Member
Registered
Joined
Jul 18, 2020
Messages
22
Points
13

Reputation:

certain servers such as yandex.com will disable links and images if the email goes into spam.
registered member can't click on email verification links. I need to send only plain text
 

cmd

Collaborate
Collaborate
Registered
Joined
Feb 18, 2020
Messages
217
Points
73

Reputation:

The only way I'm aware of would do it manually. You could edit the email templates and replace the HTML content with the plain text version. Then you would also have to enable debug mode and do it for each email template.

Any templates edited manually would revert when updating unless you did it as email template mods in the form of an add-on.
 

Sphregal

Member
Registered
Joined
Jul 18, 2020
Messages
22
Points
13

Reputation:

what a mess. besides how do I disable the board from sending emails if there is a reply to thread?
 
Last edited:

cmd

Collaborate
Collaborate
Registered
Joined
Feb 18, 2020
Messages
217
Points
73

Reputation:

@Sphregal you could do this to disable it being turned on by default for users:
ACP -> Setup -> Options -> User registration -> Watch content on creation: Yes ACP -> Setup -> Options -> User registration -> Watch content on interaction: Yes

That would automatically make users opt-out from email notification on signup. They have the option, through their account settings, to enable them if they wish though.
 

Sphregal

Member
Registered
Joined
Jul 18, 2020
Messages
22
Points
13

Reputation:

@cmd works great, thank you.
I still have the initial issue to resolve. there should be an easier solution rather than a plugin
 

cmd

Collaborate
Collaborate
Registered
Joined
Feb 18, 2020
Messages
217
Points
73

Reputation:

@Sphregal there is definitely an opportunity to write an add on which forces Xenforo to always send as plain text no matter what, since it already does that.

Out of curiosity, why are you interested in using only plain text over HTML + plain text in 2020?
 

Sphregal

Member
Registered
Joined
Jul 18, 2020
Messages
22
Points
13

Reputation:

@cmd I explained earlier
certain servers such as yandex.com will disable links and images if the email goes into spam.
registered member can't click on email verification links. so I need to send only plain text
 

cmd

Collaborate
Collaborate
Registered
Joined
Feb 18, 2020
Messages
217
Points
73

Reputation:

@Sphregal then you have a bigger issue to solve. Your letters getting marked as spam. Start by troubleshooting that should be a top priority.
 

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
836
Points
153

Reputation:

@Sphregal Did you know that there is a certain requirement to receive an inbox message
 

Sphregal

Member
Registered
Joined
Jul 18, 2020
Messages
22
Points
13

Reputation:

There may be many reasons why an email may land in spam box.
Such a topic is too long to discuss here.
The main issue here is about a missing feature: the option to choose to send plaintext email or html email.
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,066
Points
173

Reputation:

email to spam box check spf txt and blacklit ip.
 

Sphregal

Member
Registered
Joined
Jul 18, 2020
Messages
22
Points
13

Reputation:

I am using a third third party smtp service because I don't want to go through hussle of email spams/blacklist etc
BUT that is not the issue here. The issue is I want to send plaintext emails
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,066
Points
173

Reputation:

Edit template: user_email_confirmation
to not use html tag
 
Top