I appreciate that e-mails can be sent from a server by php, but Is there
any way of receiving them by php?
On Mon, 04 Apr 2022 13:51:02 +0100, Liz Tuddenham wrote:
I appreciate that e-mails can be sent from a server by php, but Is there
any way of receiving them by php?
Not easily.
You possibly could write an entire local "Mail Delivery Agent" in
PHP, [...]
On Mon, 04 Apr 2022 15:02:56 +0000, Stefan Froehlich wrote:
On Mon, 04 Apr 2022 15:19:10 Lew Pitcher wrote:
On Mon, 04 Apr 2022 13:51:02 +0100, Liz Tuddenham wrote:
I appreciate that e-mails can be sent from a server by php, but Is there >>>> any way of receiving them by php?
Not easily.
Depends on how you define "receive".
You possibly could write an entire local "Mail Delivery Agent" in
PHP, [...]
Perhaps Liz only wants to process incoming emails with PHP. In this
case it is not at all necessary to implement a delivery agent, but
piping emails (by whatever means) from an existing mail agent into
the PHP script would suffice.
What you describe is, in effect, a "Mail User Agent" (or MUA), and
(as I said) an MUA is relatively easy to create with PHP.
I appreciate that e-mails can be sent from a server by php, but Is there
any way of receiving them by php?
On Mon, 04 Apr 2022 15:19:10 Lew Pitcher wrote:
On Mon, 04 Apr 2022 13:51:02 +0100, Liz Tuddenham wrote:
I appreciate that e-mails can be sent from a server by php, but Is there >>> any way of receiving them by php?
Not easily.
Depends on how you define "receive".
You possibly could write an entire local "Mail Delivery Agent" in
PHP, [...]
Perhaps Liz only wants to process incoming emails with PHP. In this
case it is not at all necessary to implement a delivery agent, but
piping emails (by whatever means) from an existing mail agent into
the PHP script would suffice.
Bye,
Stefan
On Mon, 04 Apr 2022 17:27:59 Lew Pitcher wrote:
On Mon, 04 Apr 2022 15:02:56 +0000, Stefan Froehlich wrote:
On Mon, 04 Apr 2022 15:19:10 Lew Pitcher wrote:
On Mon, 04 Apr 2022 13:51:02 +0100, Liz Tuddenham wrote:
I appreciate that e-mails can be sent from a server by php, but Is there >>>> any way of receiving them by php?
Not easily.
Depends on how you define "receive".
You possibly could write an entire local "Mail Delivery Agent" in
PHP, [...]
Perhaps Liz only wants to process incoming emails with PHP. In this
case it is not at all necessary to implement a delivery agent, but
piping emails (by whatever means) from an existing mail agent into
the PHP script would suffice.
What you describe is, in effect, a "Mail User Agent" (or MUA), and
(as I said) an MUA is relatively easy to create with PHP.
Ok. In my eyes a MUA is reading some mail box on request of it's
user (pull action) while piping into a (PHP- or other) script is a
push action. But as far as the processing is concerned there is
indeed no difference.
Stefan Froehlich <Stefan+Usenet@Froehlich.Priv.at> wrote:
On Mon, 04 Apr 2022 17:27:59 Lew Pitcher wrote:
On Mon, 04 Apr 2022 15:02:56 +0000, Stefan Froehlich wrote:
On Mon, 04 Apr 2022 15:19:10 Lew Pitcher wrote:
On Mon, 04 Apr 2022 13:51:02 +0100, Liz Tuddenham wrote:
I appreciate that e-mails can be sent from a server by php, but Is there >>>>>> any way of receiving them by php?
Not easily.
Depends on how you define "receive".
You possibly could write an entire local "Mail Delivery Agent" in
PHP, [...]
Perhaps Liz only wants to process incoming emails with PHP. In this
case it is not at all necessary to implement a delivery agent, but
piping emails (by whatever means) from an existing mail agent into
the PHP script would suffice.
What you describe is, in effect, a "Mail User Agent" (or MUA), and
(as I said) an MUA is relatively easy to create with PHP.
Ok. In my eyes a MUA is reading some mail box on request of it's
user (pull action) while piping into a (PHP- or other) script is a
push action. But as far as the processing is concerned there is
indeed no difference.
Thanks for all the replies. I was almost expecting to find it was impossible, but now you have given me some guidance on where to look and
what to search for.. I have never gone into this in any depth before,
so it will involve quite a lot of work just getting to grips with the
basics, which is something I was reluctant to spend a lot of time on if
there wasn't likely to be any outcome.
Your replies were encouraging, so I'll go away and do my research.
The real question her is - what are you trying to do exactly? Do you
need a script to receive email from external sources? That would be an
MTA (Mail Transport Agent), which as others have indicated is very complicated.
If you want a script to get all emails as they come in, then as
indicated you can pipe the email to a PHP script to process it. This requires a modification to your MTA, which may or may not be possible depending on your platform.
The other option is to process the email when it has been received and
is awaiting delivery on you to retrieve it. In that case you need to
handle the POP3 or IMAP interface, depending on what your server uses.
There are PHP interfaces for both as well as scripts to do some things
like create a web interface for IMAP processing.
So if you can expand on exactly what you're trying to do we can help more.
Jerry Stuckle <stuckle.jerry@gmail.com> wrote:
[...]
The real question her is - what are you trying to do exactly? Do you
need a script to receive email from external sources? That would be an
MTA (Mail Transport Agent), which as others have indicated is very
complicated.
If you want a script to get all emails as they come in, then as
indicated you can pipe the email to a PHP script to process it. This
requires a modification to your MTA, which may or may not be possible
depending on your platform.
The other option is to process the email when it has been received and
is awaiting delivery on you to retrieve it. In that case you need to
handle the POP3 or IMAP interface, depending on what your server uses.
There are PHP interfaces for both as well as scripts to do some things
like create a web interface for IMAP processing.
So if you can expand on exactly what you're trying to do we can help more.
This is a problem that has grown stupidly complex from small beginnings:
The server that hosts my business domain was updated and now will not
accept my outgoing e-mails because they don't contain the latest
security features. I therefore have to send them through the server of
my broadband provider. (I cannot change my e-mailer for legacy
reasons.)
My broadband runs on a landline rented from a different supplier from my broadband provider because it allows me to dial a prefix that connects
to an independent system for very cheap telephone calls. My broadband username is based on my full name and this is the return name shown on e-mails that heve been sent to the broadband server. All my security
checks with other services use that account name.
I am transgender and have recntly changed my name. Every time I send an e-mail I am 'outing' myself with my previous name but I have signed a
Deed Poll that legally requires me to cease using my previous name.
Therefore I need to change the name on my broadband account.
The account name is the one thing that cannot be changed, so the only
way I can change the e-mail name is by closing that account and opening another one. My broadband provider no longer offers a package that runs
on landlines rented from another supplier, so I would have to buy a much
more expensive package than my existing one and would lose my cheap
'phone call facility and all my security checks.
I am looking into various alternatives that would not involve enormous disruption, loss of archives, a great increase in expenditure or any
other undesirable side effects. It occurred to me that if my business
domain server could accept e-mails through php, without the extra layer
of security checks, these could then be forwarded with my business
domain shown as the origin.
(I cannot discuss this with my business domain host at present because
the proprietor has gone down with Covid)
Apologies for the tortuous nature of my reply, but it was the only way
to explain the whole problem.
On 4/5/2022 4:09 AM, Liz Tuddenham wrote:
Jerry Stuckle <stuckle.jerry@gmail.com> wrote:
[...]
The real question her is - what are you trying to do exactly? Do you
need a script to receive email from external sources? That would be an
MTA (Mail Transport Agent), which as others have indicated is very
complicated.
If you want a script to get all emails as they come in, then as
indicated you can pipe the email to a PHP script to process it. This
requires a modification to your MTA, which may or may not be possible
depending on your platform.
The other option is to process the email when it has been received and
is awaiting delivery on you to retrieve it. In that case you need to
handle the POP3 or IMAP interface, depending on what your server uses.
There are PHP interfaces for both as well as scripts to do some things
like create a web interface for IMAP processing.
So if you can expand on exactly what you're trying to do we can help more.
This is a problem that has grown stupidly complex from small beginnings:
The server that hosts my business domain was updated and now will not accept my outgoing e-mails because they don't contain the latest
security features. I therefore have to send them through the server of
my broadband provider. (I cannot change my e-mailer for legacy
reasons.)
My broadband runs on a landline rented from a different supplier from my broadband provider because it allows me to dial a prefix that connects
to an independent system for very cheap telephone calls. My broadband username is based on my full name and this is the return name shown on e-mails that heve been sent to the broadband server. All my security checks with other services use that account name.
I am transgender and have recntly changed my name. Every time I send an e-mail I am 'outing' myself with my previous name but I have signed a
Deed Poll that legally requires me to cease using my previous name. Therefore I need to change the name on my broadband account.
The account name is the one thing that cannot be changed, so the only
way I can change the e-mail name is by closing that account and opening another one. My broadband provider no longer offers a package that runs
on landlines rented from another supplier, so I would have to buy a much more expensive package than my existing one and would lose my cheap
'phone call facility and all my security checks.
I am looking into various alternatives that would not involve enormous disruption, loss of archives, a great increase in expenditure or any
other undesirable side effects. It occurred to me that if my business domain server could accept e-mails through php, without the extra layer
of security checks, these could then be forwarded with my business
domain shown as the origin.
(I cannot discuss this with my business domain host at present because
the proprietor has gone down with Covid)
Apologies for the tortuous nature of my reply, but it was the only way
to explain the whole problem.
Liz,
OK you're looking at something far more complicated than a way to
receive emails. You would need to create your own MTA on the server,
and your business domain server would definitely frown on that. They
have the security rules in place for a reason.
I think your best bet is to find out what security features are
rejecting your emails and fix that. My guess would be they are
requiring at least TLS (Transport Layer Security) 1.2 and your system is running TLS 1.0 or 1.1, which are no longer supported and not secure.
Your best bet is to find out what security features they require now and implement those on your end. That may require upgrading your email
program.
Jerry Stuckle <stuckle.jerry@gmail.com> wrote:
On 4/5/2022 4:09 AM, Liz Tuddenham wrote:
Jerry Stuckle <stuckle.jerry@gmail.com> wrote:
[...]
The real question her is - what are you trying to do exactly? Do you
need a script to receive email from external sources? That would be an >>>> MTA (Mail Transport Agent), which as others have indicated is very
complicated.
If you want a script to get all emails as they come in, then as
indicated you can pipe the email to a PHP script to process it. This
requires a modification to your MTA, which may or may not be possible
depending on your platform.
The other option is to process the email when it has been received and >>>> is awaiting delivery on you to retrieve it. In that case you need to
handle the POP3 or IMAP interface, depending on what your server uses. >>>> There are PHP interfaces for both as well as scripts to do some things >>>> like create a web interface for IMAP processing.
So if you can expand on exactly what you're trying to do we can help more. >>>
This is a problem that has grown stupidly complex from small beginnings: >>>
The server that hosts my business domain was updated and now will not
accept my outgoing e-mails because they don't contain the latest
security features. I therefore have to send them through the server of
my broadband provider. (I cannot change my e-mailer for legacy
reasons.)
My broadband runs on a landline rented from a different supplier from my >>> broadband provider because it allows me to dial a prefix that connects
to an independent system for very cheap telephone calls. My broadband
username is based on my full name and this is the return name shown on
e-mails that heve been sent to the broadband server. All my security
checks with other services use that account name.
I am transgender and have recntly changed my name. Every time I send an >>> e-mail I am 'outing' myself with my previous name but I have signed a
Deed Poll that legally requires me to cease using my previous name.
Therefore I need to change the name on my broadband account.
The account name is the one thing that cannot be changed, so the only
way I can change the e-mail name is by closing that account and opening
another one. My broadband provider no longer offers a package that runs >>> on landlines rented from another supplier, so I would have to buy a much >>> more expensive package than my existing one and would lose my cheap
'phone call facility and all my security checks.
I am looking into various alternatives that would not involve enormous
disruption, loss of archives, a great increase in expenditure or any
other undesirable side effects. It occurred to me that if my business
domain server could accept e-mails through php, without the extra layer
of security checks, these could then be forwarded with my business
domain shown as the origin.
(I cannot discuss this with my business domain host at present because
the proprietor has gone down with Covid)
Apologies for the tortuous nature of my reply, but it was the only way
to explain the whole problem.
Liz,
OK you're looking at something far more complicated than a way to
receive emails. You would need to create your own MTA on the server,
and your business domain server would definitely frown on that. They
have the security rules in place for a reason.
I think your best bet is to find out what security features are
rejecting your emails and fix that. My guess would be they are
requiring at least TLS (Transport Layer Security) 1.2 and your system is
running TLS 1.0 or 1.1, which are no longer supported and not secure.
Thanks. My domain host looked into all that when the security system
changed and claimed it was impossible to back-track. Plusnet are still managing to accept my e-mails, so it can't be too much of a problem.
Your best bet is to find out what security features they require now and
implement those on your end. That may require upgrading your email
program.
I don't think there have been any upgrades recently. The program is
Claris Emailer 1.0.1; I can only remember one other issue that needed a
'fix' - and that was about 18 years ago. I've had to use more modern e-mailers at work, but I find they are nowhere near as intuitive to use.
and none of them will handle my archive of messages.
I appreciate that e-mails can be sent from a server by php, but Is there
any way of receiving them by php?
I appreciate that e-mails can be sent from a server by php, but Is there
any way of receiving them by php?
I appreciate that e-mails can be sent from a server by php, but Is there
any way of receiving them by php?
--
~ Liz Tuddenham ~
(Remove the ".invalid"s and add ".co.uk" to reply)
www.poppyrecords.co.uk
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 349 |
Nodes: | 16 (2 / 14) |
Uptime: | 119:35:38 |
Calls: | 7,612 |
Files: | 12,787 |
Messages: | 5,684,033 |