Skip to main content
Recent Posts
11
Support / Re: ElkArte Mail Not Working
Last post by D.M. -
Quote from: Spuds – Looks like I missed all the fun  :cool: 

Quote from: Steeley – Question - Does EA send individual messages to individual users, or create a "broadcast list" and upload the list to the email server and the message for the server to distribute to the list?
It just does them one at a time to individual users
Quote from: Denis M. – could it be that it doesnt allow the FORUM NAME in the From field ?
That "FORUM NAME" is the common name that shows up in your email client, without that it would show the raw email address.

Using the PHP option in the mail settings uses PHP's mail() function which just delivers it to the servers sendmail  which is generally not fully functional on a shared host.

Quote from: D.M. – There's still a [Link] prefix before them
Why is that a problem ??  its a plain text message (NOT HTML) with an indicator that there is a link to follow.  Your email client creates the clickable link, or not, depends on the client, most do, some don't, some try and break the links.


Well it's working fine now tbh, the links are working as well so I think I may just stop tinkering, the emails also now arrive with the correct from address it was a problem with PHP / SendGrid :cheesy:
Though it's not a problem honestly, just being somewhat a perfectionist, it tends to be a tough job doing anything, it all has to be perfect  :cheesy:  :nerd:  :laugh:


Quote from: Steeley –
Quote from: D.M. – Oh my GAWD  :cheesy:

I have finally set it up, needed to choose SMTP and run it through with the hosting providers information! Thank you very much @Steeley !!! Couldn't be possible without your troubleshooting :D

The mail arrived accordingly into the GMAIL mailbox and everything went smooth !!

OTay - I found my host's email worked fine with the default php setup (with some tweaks that have been rolled into subsequent releases)
You fixed your issue.. now, you're really gonna kick yourself by the time you get to the bottom of this reply.. so "gird yer loins" !  :tongue:

Quote from: D.M. –
BUT  :sad:  although the links do look a lot better now and are working perfectly ! There's still a [Link] prefix before them  :cry:


That is not an issue - if that gets turned into a clickable link, that is done by the recipient's email client. When EA sends it out, it's just text. The [Link] just clues the recipient that it IS an html link they have to copy and paste into their browser  if their client DOESN'T make it clickable..  After the 3rd time you see it, you no longer read it (or maybe not even actually "see it" any more) you just know it's there and what it means or marks.. .
(I never read the STOP sign, I see it and I automatically know what it is, and all it means to me is that it marks the location I have to stop - unless it's 3 AM then it's merely advisory..  :laugh:   )..

Quote from: Spuds –
It just does them one at a time to individual users

Because of that, and EA's ability to meter the number of emails sent per minute as I pointed out on the admin page screen shot, there is NO REASON for your host to block EA emails (unless there is a limit on the total number of emails sent per month, per week, whatever..) The mail server doesn't know if the same message is sent in 10 separate emails to 10 separate addresses, or each of those 10 recipients gets a unique message.

And so, there never was a reason to deal with sendgrid ... at all.  :cry:

Now if your forum traffic gets to the point where you start annoying your host, that is typically a good problem to have, and at that point monetize your forum and get a different host!

But don't feel too bad, I was trying to use another forum package before elkarte that I spent 6 months setting up only to discover after it was all configured so I could run a critical function I needed integrating with a different platform, (that only it handled natively) that the function had a bug that rendered that function useless, and that the developers had no inclination to fix. 
Everything I'd done up to that point setting up so I could test that out, and then troubleshooting the problem and isolating it to the package and not something I'd done wrong, all of it was a complete total waste of my time. I switched to ElkArte and had it up, configured, and running in less than two weeks and then found a work-around for interfacing with the platform that drove my selection of the first package..

(And then in accordance with the universal law of infinite perversity, the platform I was trying to coordinate with that drove the need for that forum package I'd spent 6 months setting up, went and shut down several months later, making everything about that requirement totally irrelevant even if I had managed to make it work).

Now, if that makes you feel any better at all.. yea, "it could be worse".. 

Glad it's working now..

Lesson: Burn the bridges when you get to 'em.. otherwise you may discover you burned them too hastily and all you did was waste precious fuel and a damn good match.


Yeah well that is comforting @Steeley  :cheesy:  :thumbsup:

My hosting provider told me:
All mails that get delivered as a newsletter eg. a mail that is with the same text/subject forwarded to multiple different addresses gets marked as spam and blocked

I am not sure if that is the case for the Newsletter on ElkArte regarding Notification emails and the actual daily, weekly and monthly newsletter ?
Do those emails get sent one by one separately to each registered email address or is it more of a mass email as one single email marked for multiple recipients ? That would be very helpful information to know  :nerd:

As I said the registration/reset password and other emails are working fine now with clickable links so that's very refreshing  :thumbsup:  :sweat:

Though I am thinking about disabling the Newsletter , notification and the Daily/Weekly/Monthly emails if the mails get sent as stated above, to avoid getting blocked for spam mailing  :head_bandage:

Also what number of emails per minute do you advise me to set ? I currently have it set to 5 emails per minute, not sure if that's okay ?
12
Support / Re: ElkArte Mail Not Working
Last post by Steeley -
Quote from: D.M. – Oh my GAWD  :cheesy:

I have finally set it up, needed to choose SMTP and run it through with the hosting providers information! Thank you very much @Steeley !!! Couldn't be possible without your troubleshooting :D

The mail arrived accordingly into the GMAIL mailbox and everything went smooth !!

OTay - I found my host's email worked fine with the default php setup (with some tweaks that have been rolled into subsequent releases)
You fixed your issue.. now, you're really gonna kick yourself by the time you get to the bottom of this reply.. so "gird yer loins" !  :tongue:

Quote from: D.M. –
BUT  :sad:  although the links do look a lot better now and are working perfectly ! There's still a [Link] prefix before them  :cry:


That is not an issue - if that gets turned into a clickable link, that is done by the recipient's email client. When EA sends it out, it's just text. The [Link] just clues the recipient that it IS an html link they have to copy and paste into their browser  if their client DOESN'T make it clickable..  After the 3rd time you see it, you no longer read it (or maybe not even actually "see it" any more) you just know it's there and what it means or marks.. .
(I never read the STOP sign, I see it and I automatically know what it is, and all it means to me is that it marks the location I have to stop - unless it's 3 AM then it's merely advisory..  :laugh:   )..

Quote from: Spuds –
QuoteQuote from: Steeley – 9 hours agoQuestion - Does EA send individual messages to individual users, or create a "broadcast list" and upload the list to the email server and the message for the server to distribute to the list?
It just does them one at a time to individual users

Because of that, and EA's ability to meter the number of emails sent per minute as I pointed out on the admin page screen shot, there is NO REASON for your host to block EA emails (unless there is a limit on the total number of emails sent per month, per week, whatever..) The mail server doesn't know if the same message is sent in 10 separate emails to 10 separate addresses, or each of those 10 recipients gets a unique message.

And so, there never was a reason to deal with sendgrid ... at all.  :cry:

Now if your forum traffic gets to the point where you start annoying your host, that is typically a good problem to have, and at that point monetize your forum and get a different host!

But don't feel too bad, I was trying to use another forum package before elkarte that I spent 6 months setting up only to discover after it was all configured so I could run a critical function I needed integrating with a different platform, (that only it handled natively) that the function had a bug that rendered that function useless, and that the developers had no inclination to fix. 
Everything I'd done up to that point setting up so I could test that out, and then troubleshooting the problem and isolating it to the package and not something I'd done wrong, all of it was a complete total waste of my time. I switched to ElkArte and had it up, configured, and running in less than two weeks and then found a work-around for interfacing with the platform that drove my selection of the first package..

(And then in accordance with the universal law of infinite perversity, the platform I was trying to coordinate with that drove the need for that forum package I'd spent 6 months setting up, went and shut down several months later, making everything about that requirement totally irrelevant even if I had managed to make it work).

Now, if that makes you feel any better at all.. yea, "it could be worse".. 

Glad it's working now..

Lesson: Burn the bridges when you get to 'em.. otherwise you may discover you burned them too hastily and all you did was waste precious fuel and a damn good match.

13
Support / Re: ElkArte Mail Not Working
Last post by Spuds -
Looks like I missed all the fun  :cool: 

Quote from: Steeley – Question - Does EA send individual messages to individual users, or create a "broadcast list" and upload the list to the email server and the message for the server to distribute to the list?
It just does them one at a time to individual users
Quote from: Denis M. – could it be that it doesnt allow the FORUM NAME in the From field ?
That "FORUM NAME" is the common name that shows up in your email client, without that it would show the raw email address.

Using the PHP option in the mail settings uses PHP's mail() function which just delivers it to the servers sendmail  which is generally not fully functional on a shared host.

Quote from: D.M. – There's still a [Link] prefix before them
Why is that a problem ??  its a plain text message (NOT HTML) with an indicator that there is a link to follow.  Your email client creates the clickable link, or not, depends on the client, most do, some don't, some try and break the links.
14
Support / Re: ElkArte Mail Not Working
Last post by D.M. -
Oh my GAWD  :cheesy:

I have finally set it up, needed to choose SMTP and run it through with the hosting providers information! Thank you very much @Steeley !!! Couldn't be possible without your troubleshooting :D

The mail arrived accordingly into the GMAIL mailbox and everything went smooth !!

BUT  :sad:  although the links do look a lot better now and are working perfectly ! There's still a [Link] prefix before them  :cry:

Check it out:
link+prefix+problem+LINK.jpg


EDIT: Further investigation tells me that the problem is that {activationlink} and other formats are using [Link] format while HTML only accepts <a> tags for links , does anyone have any information on how to edit the PHP formatting and handling for {activationlink} and others that are used inside of the email templates ?

EDIT: Checked ''Load.php'' and ''Subs.php'' only thing I could find mail or registration related are:

'{register_url}' => $scripturl . '?action=register',
'{activate_url}' => $scripturl . '?action=register;sa=activate',

No sign of any {ACTIVATIONLINK} function :X
15
Support / Re: ElkArte Mail Not Working
Last post by D.M. -
Quote from: Steeley –
Quote from: Denis M. – This is the From field I recieved:

]admin@mydomain.cc[/email], 18 Jul 2024 17:05:01 -0000 X-Mailer: ELK Mime-Version: 1.0 Content-Type: multipart/alternative, e194be95f88ef5ae361b3705a115e8f1-@mydomain.cc

Yep - 3 "from" addresses

Something is not delimiting "admin@mydomain.cc" and each following "comma" is interpreted as a separate from address..

Meanwhile, make sure, in Admin  Mode, Admin Center -> Maintenance -> Mail -> Settings

[attach width=300 align=left]10748[/attach]

That should be it all you need..

(Note also that you can configure an email queue on that screen to meter how many emails are sent per minute so you don't overload your hosts email server]

Also Note, the server and username settings in that screen should match the settings in the client you set up and proved works, (assuming, of course, you have actually set up your own email client to try this and are not just using the hosts preconfigured webmail client.)


But @Steeley look here, I have setup another email client but the problem is not the mail client , its the ElkArte ''From: name'' ?

PHP+SMTP.jpg

EDIT: Just to add for elaboration, the problem wasnt ElkArte it was the PHP default mail system, was kinda obvious it wouldn't work since all email providers require SMTP nowadays
16
Support / Re: ElkArte Mail Not Working
Last post by Steeley -
Quote from: Denis M. – This is the From field I recieved:

]admin@mydomain.cc[/email], 18 Jul 2024 17:05:01 -0000 X-Mailer: ELK Mime-Version: 1.0 Content-Type: multipart/alternative, e194be95f88ef5ae361b3705a115e8f1-@mydomain.cc

Yep - 3 "from" addresses

Something is not delimiting "admin@mydomain.cc" and each following "comma" is interpreted as a separate from address..

Meanwhile, make sure, in Admin  Mode, Admin Center -> Maintenance -> Mail -> Settings

config.jpg

That should be it all you need..

(Note also that you can configure an email queue on that screen to meter how many emails are sent per minute so you don't overload your hosts email server]

Also Note, the server and username settings in that screen should match the settings in the client you set up and proved works, (assuming, of course, you have actually set up your own email client to try this and are not just using the hosts preconfigured webmail client.)
17
Support / Re: ElkArte Mail Not Working
Last post by D.M. -
Quote from: Steeley –
Quote from: Denis M. –

I have an account on my Hosting Webmail and I'm using the RoundCube mail application supplied by my hosting provider through the cpanel, I can sucessfully send and receive email on that email through that application , which application would you advise to use ? Though the problem isn't the email application since the receiving address (GMAIL) doesn't accept multiple From addresses and the email always shows the ''Forum Name'' in the from section?

EDIT: just to add and elaborate the email goes from ElkArte, through my Mail application but gets declined and returned by Gmail

My reason for not using the hosts webmail application (roundcube) but a different client is because YOU have to configure the client credentials for accessing the account to send and receive. Roundcube as your host's email client is already configured by your host.
If you can configure an email client successfully then you now know what ElkArte has to mimic. And you'll be able to see more readily what is different between your client and ElkArte if EA still isn't working.. 

One last thing.. we already know Google is getting really stringent with email configurations and client security, so instead of using gmail as a test recipient, use an account on a different domain to test through (your own personal email addy, or set up a hotmail account  or yahoo account..), or send email to something like this, --> https://www.mail-tester.com/   for feedback,  just to make sure google isn't ..well, being google.


Right, well ElkArte is working since the email gets sent through, but the problem is it sends the email with 3 comma separated information lines for the ''from'' address and that gets registered by Google as 3 from addresses, well not using Google as the recipient surely doesn't help since 99% of internet users use it as their mailbox, I can setup an email client it's not a problem but I do not see how this would change the way ElkArte sends the mail with 3 from recipients  :huh:

EDIT: Btw just to note I edited the reply above with a couple of more tests, not sure if you saw it, the mail went through from one hosting inbox to the other but with 3 from address lines separated by commas '',''
18
Support / Re: ElkArte Mail Not Working
Last post by Steeley -
Quote from: Denis M. –
Quote from: Steeley –
While I go open up my own admin configuration pages and remind myself of the settings, do the steps #1 and 2 in my earlier message (humor me), and find out what exactly your host allows and doesn't allow regarding email. Doing the steps above may expose the configuration problem to you - no point trying to debug ElkArte configuration if that's not where the problem is..

I have an account on my Hosting Webmail and I'm using the RoundCube mail application supplied by my hosting provider through the cpanel, I can sucessfully send and receive email on that email through that application , which application would you advise to use ? Though the problem isn't the email application since the receiving address (GMAIL) doesn't accept multiple From addresses and the email always shows the ''Forum Name'' in the from section?

EDIT: just to add and elaborate the email goes from ElkArte, through my Mail application but gets declined and returned by Gmail

My reason for not using the hosts webmail application (roundcube) but a different client is because YOU have to configure the client credentials for accessing the account to send and receive. Roundcube as your host's email client is already configured by your host.
If you can configure an email client successfully then you now know what ElkArte has to mimic. And you'll be able to see more readily what is different between your client and ElkArte if EA still isn't working.. 

One last thing.. we already know Google is getting really stringent with email configurations and client security, so instead of using gmail as a test recipient, use an account on a different domain to test through (your own personal email addy, or set up a hotmail account  or yahoo account..), or send email to something like this, --> https://www.mail-tester.com/   for feedback,  just to make sure google isn't ..well, being google.
19
Support / Re: ElkArte Mail Not Working
Last post by D.M. -
Quote from: Steeley –
Quote from: Denis M. – could it be that it doesnt allow the FORUM NAME in the From field ? how could I edit that ? I cant find the Mail.php settings for ElkArte, think it should be there somewhere if I am right ?

While I go open up my own admin configuration pages and remind myself of the settings, do the steps #1 and 2 in my earlier message (humor me), and find out what exactly your host allows and doesn't allow regarding email. Doing the steps above may expose the configuration problem to you - no point trying to debug ElkArte configuration if that's not where the problem is..

I have an account on my Hosting Webmail and I'm using the RoundCube mail application supplied by my hosting provider through the cpanel, I can sucessfully send and receive email on that email through that application , which application would you advise to use ? Though the problem isn't the email application since the receiving address (GMAIL) doesn't accept multiple From addresses and the email always shows the ''Forum Name'' in the from section?

EDIT: just to add and elaborate the email goes from ElkArte, through my Mail application but gets declined and returned by Gmail

EDIT: I noticed the From section has a return path code including once more the sender address ? Could this be the problem ?

EDIT: I just tried sending an email from one webhosts address to the other webhosts address and it sent it sucessfully through the ElkArte system but look at this I may have found the issue, the email does arrive with 3 FROM addresses,

This is the From field I recieved:

admin@mydomain.cc, 18 Jul 2024 17:05:01 -0000 X-Mailer: ELK Mime-Version: 1.0 Content-Type: multipart/alternative, e194be95f88ef5ae361b3705a115e8f1-@mydomain.cc

Altogether it counts 3 from addresses ? what is going on ? There's ELK Mime Version text counted as a sender and a weird looking encrypted email counted as another one as well

Which mail application do you suggest for sending mail though ? Maybe I could try setting that up as well?
20
Support / Re: ElkArte Mail Not Working
Last post by Steeley -
Quote from: Denis M. – could it be that it doesnt allow the FORUM NAME in the From field ? how could I edit that ? I cant find the Mail.php settings for ElkArte, think it should be there somewhere if I am right ?

While I go open up my own admin configuration pages and remind myself of the settings, do the steps #1 and 2 in my earlier message (humor me), AND..... find out what exactly your host allows and doesn't allow regarding email.

You may decide your current host either has to change policy or make an exception for you or will not work for you at all, OR,  there really is no mail issue at all, and this "blocking of newsletters" is just a misunderstanding of technical processing.

But first, doing the steps above may expose the configuration problem to you - no point trying to debug ElkArte configuration if that's not where the problem is..