we are missing anything?
Good Luck,
^Avi
-Original Message-
From: Python-list On
Behalf Of ^Bart
Sent: Sunday, February 5, 2023 8:58 AM
To: python-list@python.org
Subject: Re: RE: How to read file content and send email on Debian Bullseye
> For example, try to do whatever parts you kno
On 2023-02-05, ^Bart wrote:
>> xdg-email appears to be for interactive use (it opens the user's
>> "preferred email composer"); I think sendmail would work much better
>> from a script.
>
> Like what I said in another post I think I could use ssmtp than
> xdg-email or sendmail...
>
>> Otherwise,
On 2023-02-05, ^Bart wrote:
>> For example, try to do whatever parts you know how to do and when some part
>> fails or is missing, ask.
>
> You're right but first of all I wrote what I'd like to do and if Python
> could be the best choice about it! :)
I'd say you want a simple shell script wrapp
For example, try to do whatever parts you know how to do and when some part
fails or is missing, ask.
You're right but first of all I wrote what I'd like to do and if Python
could be the best choice about it! :)
I might have replied to you directly if your email email address did not
look li
I have never used it, and I did see that wording in the man page, but it
also showed putting all the info on the command line - from, to,
subject, etc - so I thought it might be able to use a command line
client without needed any GUI interaction. But I don't know for sure.
This machine is a
xdg-email appears to be for interactive use (it opens the user's
"preferred email composer"); I think sendmail would work much better
from a script.
Like what I said in another post I think I could use ssmtp than
xdg-email or sendmail...
Otherwise, I had the same initial thought, to add to a
Not Python, but you could run a shell script that sends the file with
lftp, and depending on the return code uses xdg-email to send one of the
two messages. This would probably be simpler than using Python.
This machine is a server without DE, just command line and I didn't
configure mail clie
On 2023-02-04 17:59:11 -0500, Thomas Passin wrote:
> On 2/4/2023 10:05 AM, ^Bart wrote:
> > On a Debian Bullseye server I have a lftp upload and after it I should
> > send an email.
> >
> > I thought to read the lftp log file where I have these lines:
[...]
> > I'd like to use Python to check, fro
On 2/4/2023 10:13 PM, 2qdxy4rzwzuui...@potatochowder.com wrote:
On 2023-02-04 at 17:59:11 -0500,
Thomas Passin wrote:
On 2/4/2023 10:05 AM, ^Bart wrote:
Hi guys,
On a Debian Bullseye server I have a lftp upload and after it I should
send an email.
[...]
[...] you could run a shell script
On 2023-02-04 at 17:59:11 -0500,
Thomas Passin wrote:
> On 2/4/2023 10:05 AM, ^Bart wrote:
> > Hi guys,
> >
> > On a Debian Bullseye server I have a lftp upload and after it I should
> > send an email.
[...]
> [...] you could run a shell script that sends the file with lftp, and
> depending on
On 2/4/2023 10:05 AM, ^Bart wrote:
Hi guys,
On a Debian Bullseye server I have a lftp upload and after it I should
send an email.
I thought to read the lftp log file where I have these lines:
2023-01-30 18:30:02
/home/my_user/local_folder/upload/my_file_30-01-2023_18-30.txt ->
sftp://ftp_u
do in python? Have you done some
reading or looking?
-Original Message-
From: Python-list On
Behalf Of ^Bart
Sent: Saturday, February 4, 2023 10:05 AM
To: python-list@python.org
Subject: How to read file content and send email on Debian Bullseye
Hi guys,
On a Debian Bullseye server I
Hi guys,
On a Debian Bullseye server I have a lftp upload and after it I should
send an email.
I thought to read the lftp log file where I have these lines:
2023-01-30 18:30:02
/home/my_user/local_folder/upload/my_file_30-01-2023_18-30.txt ->
sftp://ftp_user@ftpserver_ip:2201/remote_ftp_fol
13 matches
Mail list logo