Skip to main content
Recent Posts
1
Support / Email Templates Bugged Problem
Last post by Denis M. -
Greetings community !
After having a rough time setting up SMTP it finally worked you can go check it out in one of the posts regarding setting up SMTP through SendGrid,
and well after setting it up and finally having Registration emails going through smoothly I am having a new problem regarding the mail system

The Email templates are awfully looking, not sure if they are supposed to look like this, if it is then it's okay I can handle the eyesore ?

mail+templates+problem.jpg

But the main problem is that when the Account Activation link after registering is clicked inside the email, the ''Wrong activation code'' page appears with a box to enter it manually, and only after entering it manually does it work , even though this is not such a big deal and I am ready to remove the activation link completely if needed and just use the manual code entry verification, but just wanted to see if there is a way to fix up the links a bit , seems like the HTML shortcodes aren't working as they are supposed to?

So if anyone has any ideas on what I could do to fix this up it would help out a lot !

Thanks in advance !

2
Support / Re: Easiest way to find certain strings for ElkArte translation editing ?
Last post by Denis M. -
Quote from: Spuds – There are several language packs available (abet in various levels of completion) https://translations.elkarte.net/  and transifex is the tool used to do the translations and from there updates are packaged nightly.  I'm not sure if that offers a search function on the strings.

If you can't find a specific string, be sure to look in the index.english.php file (of course this will be index.yourLanguage.php) as that file contains common words that are used in various other stings (concatenation and sometimes proper plural usage) Not saying that is a great thing, just noting that is what was done in a few places.

Perfect ! Thank you very much @Spuds !
3
Support / Re: Setting up SMTP Mailing service
Last post by Denis M. -
Quote from: Steeley –
Quote from: ahrasis – Try reading this: https://stackoverflow.com/a/64160785

If he's using sendgrid as his email server, I don't think that (cpanel smtp filtering thing) is going to help him @ahrasis 

@Denis M. - first, let me ask what is wrong with using your own host's email system (why are you messing with sendgrid at all)?

(FWIW, that error is saying the security certificates are not OAUTH2 (I suspect) security compliant. But, why you are involving ChatGPT in this is beyond me.. let's get back to basic SMTP stuff, which still works in most everywhere, and start there.. )


I want to use SendGrid because going through PHP just shoves the email into the spam folder, I need an SMTP setup since my hosting provider only supports registration/login/password reset emails and not ''You have a new reply on your post'' etc then they block your account

Quote from: ahrasis – Did you read or not? Because the problem (which is mentioned just above the said answer) is exactly the same:
Quote from: https://stackoverflow.com/q/41554028We are attempting to send an autoresponder email to new members. We're using the same configuration on other sites on the same server with no issue. Upon sending the email the following error is returned:

Quotestream_socket_enable_crypto(): Peer certificate CN=cs723.mojohost.com did not match expected CN=smtp.sendgrid.net

@Steeley @ahrasis It WORKED !

Just to update everyone that the problem was in the WHM settings (Cpanel) keep in mind I did not have access to those settings and I needed my hosting providers support to disable the ''SMTP Restrictions''

Though the email system is now working although theres a new problem regarding the email templates I will be posting a new topic about the issue

Thanks for all the help and support gentlemen, it means a lot !
4
Support / Re: Setting up SMTP Mailing service
Last post by ahrasis -
Did you read or not? Because the problem (which is mentioned just above the said answer) is exactly the same:
Quote from: https://stackoverflow.com/q/41554028We are attempting to send an autoresponder email to new members. We're using the same configuration on other sites on the same server with no issue. Upon sending the email the following error is returned:

Quotestream_socket_enable_crypto(): Peer certificate CN=cs723.mojohost.com did not match expected CN=smtp.sendgrid.net
5
Support / Re: Setting up SMTP Mailing service
Last post by Steeley -

If he's using sendgrid as his email server, I don't think that (cpanel smtp filtering thing) is going to help him @ahrasis 

@Denis M. - first, let me ask what is wrong with using your own host's email system (why are you messing with sendgrid at all)?

(FWIW, that error is saying the security certificates are not OAUTH2 (I suspect) security compliant. But, why you are involving ChatGPT in this is beyond me.. let's get back to basic SMTP stuff, which still works in most everywhere, and start there.. )
7
Support / Re: Setting up SMTP Mailing service
Last post by Denis M. -
Well, my happiness was shortlasting ! @Steeley was right , it doesnt work, now theres a new error but I think it's hosting related , I have no idea how the first mail even went through and how this error just popped up out of nowhere without changing anything in the smtp  :cry:  :cry:  :cry:  :cry:

stream_socket_enable_crypto(): Peer certificate CN=`s7.webhostingsrbija.rs' did not match expected CN=`smtp.sendgrid.net'

This is what Chat GPT has to say:
Understanding the Error
stream_socket_enable_crypto(): This PHP function enables encryption on a stream, typically for securing communications with SSL/TLS.
Peer certificate CN='s7.webhostingsrbija.rs': The Common Name (CN) in the SSL/TLS certificate presented by the SMTP server is s7.webhostingsrbija.rs.
did not match expected CN='smtp.sendgrid.net': The script expects the Common Name to be smtp.sendgrid.net, which means your ElkArte forum is configured to connect to SendGrid’s SMTP server, but the server it’s actually connecting to is presenting a certificate for s7.webhostingsrbija.rs.
Potential Causes
Misconfigured SMTP Settings: Your ElkArte forum might be configured with incorrect SMTP server details.
Man-in-the-Middle (MITM) Attack: While less likely, a MITM attack could be intercepting your SMTP connections and presenting a different certificate.
Proxy or Intermediate Server: Your hosting provider might be routing SMTP connections through an intermediate server which presents its own certificate.

what the heck ?

smtp+Sendgrid+problem+03.jpg
10
Support / Re: Blocking Guests from viewing specific Board ?
Last post by Denis M. -
Quote from: ahrasis – Just untick guests from allowed groups to disable their access, then change the board to Read Only.

Quote from: Spuds – As above:point_up_2:... Admin -> Forum -> Modify  Boards

Then find the board and use the MODIFY button, uncheck Guest from the allowed groups.


What kind of magic is this ? I was searching all around clicking everywhere but only after I saw your reply its like I exactly knew what to do and I clicked on the board name in Board Permissions and found the ticker for Guests !

You guys are amazing ! Thank you very much !