Skip to main content
Recent Posts
1
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.)
2
Support / Re: ElkArte Mail Not Working
Last post by Denis 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 '',''
3
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.
4
Support / Re: ElkArte Mail Not Working
Last post by Denis 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?
5
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..
6
Support / Re: ElkArte Mail Not Working
Last post by Denis 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 ?
7
Support / Re: ElkArte Mail Not Working
Last post by 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.

Edit#2: In the templates thread, you wrote: my hosting providers email service ... block all emails that are like a ''newsletter'' with the same email being sent to multiple email adresses, that's the only restriction. Oh my, that may be  a deal killer if you are going to be allowing users to get email copies of posts. Depends on what your host means by "same email being sent to multiple email addresses"

@Spuds - 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?

@Denis M.  - Find out if the host email blocks "broadcast lists", or if it's based on message count (you have, say ,100 members, and EA sends out 100 individual messages, as opposed to one message and a list of email addy's for the server to send it to..)

 
8
Support / Re: Email Templates Bugged Problem
Last post by Denis M. -
Quote from: Spuds –
Quote from: Denis M. – he 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 ?
Quote from: Steeley – then those cryptified links inserted by Sendgrid in the outbound email (necessary to get back to your website) won't be necessary.
I had no idea that sendgrid would rewrite the links, those are crazy looking. 

Its possible (with several manual edits etc) that instead of having full https:\\www.tld.com\bla links that you could strip off the https:\\ and then they would not be modified, of course they would not be clickable in the email, the user would have to cut / paste which is a horrible experience. 

Seems like if using sendgrid you just have to live with that, its the price you pay for "free"


Yeah that is not an option unfortunately   :rolleyes:  , I have decided to go with my hosting providers email service and just avoid being blocked, they block all emails that are like a ''newsletter'' with the same email being sent to multiple email adresses, that's the only restriction, so I will just be starting off with email notifications being turned down to the max, registration/reset password emails etc. will work fine though

But unfortunately now when I reverted back to the PHP Default email option in Mail Settings the mail doesnt go through and just dissapears ? I've made a new post about the problem, keep in mind theres no error log information I could use to go deeper on the subject, so now I am completely lost  :cry:

ElkArte Mail Not Working
9
Support / Re: Email Templates Bugged Problem
Last post by Spuds -
Quote from: Denis M. – he 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 ?
Quote from: Steeley – then those cryptified links inserted by Sendgrid in the outbound email (necessary to get back to your website) won't be necessary.
I had no idea that sendgrid would rewrite the links, those are crazy looking. 

Its possible (with several manual edits etc) that instead of having full https:\\www.tld.com\bla links that you could strip off the https:\\ and then they would not be modified, of course they would not be clickable in the email, the user would have to cut / paste which is a horrible experience. 

Seems like if using sendgrid you just have to live with that, its the price you pay for "free"
10
Support / Re: Email Templates Bugged Problem
Last post by Denis M. -
Quote from: Steeley –
Quote from: Denis M. – Or should I just leave it on PHP default and contact my hosting provider for further assistance in setting up the email, I will be contacting my hosting provider as soon as I get a reply here!

Yes indeed.. don't try to address hypothetical problems unless and until they actually materialize. 

I responded in more detail in the Sendgrid thread..  but yea, trust ElkArte to work, set the email accounts as basic SMTP like any other email account,  Identify in EA which accounts are for which purpose, configure EA to access them, and let it fly..

In the mean time, end this thread since it's an artifact of the other Sendgrid issue, and then abandon Sendgrid, and if you run into issues with native operation, open a new thread about those issues if you and your host can't resolve it and we'll be all over it with you.


Okay @Steeley I listened to the advice and heres my new post about the subject Mail Completely Not Working Now