FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Sending server mails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=186784&th=123684#msg_186784
version of the software.
I found that, in case there is a problem sending a mail, the server simply drop the mail.
This is why it is so difficult to register to my forums -- you cannot register without the registration e-mail confirmation, and the server was not sending any mails.
I wrote a fix that write the mail into a text file.
Then the server try to empty all mails in the text file.
In case the mail go out OK, it is removed.
Using this I can send e-mails from the server even when the net cable is unplugged.
In the adm directory I glued-in the new routine so it is also used for mass-emails.
Ohh. using '\nBcc: list' for new-line isn't really functional. "\r\nBcc: " is better.
I have not updated the smtp send mail routine, so this remains to be fixed; I don't use it.
My question: Is this of relevance for the current, updated forum ??
//
]]>Atomicrun2015-02-26T00:05:53-00:00Re: Sending server mails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=186785&th=123684#msg_186785
GaryM2015-02-26T00:56:35-00:00Re: Sending server mails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=186793&th=123684#msg_186793
I cannot run my own mail service; outgoing mails using such service is not allowed (blocked) on my server's connection. I must upload the mails like a PC mail software, to an account at my service provider.
My e-mail service provider -- they suddenly revealed that if sending to one of their own accounts, no checks is made on the e-mail, but when sending to external domains all checks (TLS) must pass, or the e-mail send will fail with an error. And I have been testing the e-mails using my ordinary account ... for some years ...
My new e-mail routine store outgoing e-mails on disk, later sent out by a deamon-php, that can re-send in case there is a problem or if some admin adjustments are needed.
I found some minor problems in the existing code, here and there, such as errors due to empty "To:"; inconsistency if the "To:" is a string or an array, mail simply lost if the send routine cannot succeed possibly without any error. The mail-account e-mail will also usually be different from the server admin e-mail.
Likely will e-mail providers increase restrictions so if your mail works now, it can simply lock an any time.
I will run the software for some time; I'll see if I can cut-out a portable version in case this is of interest to others.
]]>Atomicrun2015-03-04T12:38:54-00:00Re: Sending server mails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=186822&th=123684#msg_186822
NeXuS2015-03-12T12:12:16-00:00