Skip to main content
Recent Posts
41
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.

42
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.
43
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
44
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
45
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.)
46
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 '',''
47
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.
48
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?
49
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..
50
Support / Re: ElkArte Mail Not Working
Last post by D.M. -
Quote from: Steeley – OK Denis..

1 -Have you created an smtp email account on your host's email server?

2- Have you created an account-identity in your own email client to use that account, (Outlook, MS Mail, Pegasus Mail,, Spark, Canary Mail, whatever.. NOT your host's webmail software), and sent and received email using it through that account to verify the account is in fact accessible, credentialed and functioning properly?

If yes, to both questions now we can proceed to make ElkArte do the same thing your email client is doing.. If you haven't done both of those yet, then do that, make sure you can establish a functioning configuration before asking ElkArte to use it.


Edit: regarding the error message you just posted "Messages with multiple addresses in From: header are\n550-5.7.1 not accepted"
It looks like whatever is trying to use that account to send mail (ElkArte?) is not configured properly.. I suspect you have some latent configuration stuff for Sendgrid still present (maybe in the Hosts email account set up??), but it also may be that you have your ElkArte Sender information set up to include your subdomain (which is being misinterpreted as a separate From address perhaps(?), or the name of your forum as a Sender has a comma or some other typo in it making it appear you have multiple senders.  But first, as I noted above, do #1 and #2 above so we know for sure where the real problem actually is.

Greetings Steeley !

I am just using the PHP Default option in ElkArte Mail Settings, keep in mind that the email goes through the mail server but gets rejected by Google Gmail on my test email address recipient with the reason:
 host gmail-smtp-in.l.google.com [64.233.162.26]
    SMTP error from remote mail server after end of data:
    550-5.7.1 [37.27.123.108] Messages with multiple addresses in From:
    header are
    550-5.7.1 not accepted. For more information, go to
    550-5.7.1  https://support.google.com/mail/?p=RfcMessageNonCompliant and review
    550 5.7.1 RFC 5322 specifications. 2adb3069b0e04-52ef0799968si250273e87.367 - gsmtp

and this is how the email subject and from address looks like:

Subject   Welcome to <ForumName>
From   "ForumName" <webmastermail@forumdomain.cc> Return-Path: <webmastermail@forumdomain.cc> Date: Thu, 18 Jul 2024 15:51:06 -0000 X-Mailer: ELK Mime-Version: 1.0 Content-Type: multipart/alternative, 77b50c5ad87939a4bd9073b4617f888b-@forumdomain.cc
To   testmail@gmail.com
Date   Today 17:51

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 ?