astroidmail / astroid

A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
http://astroidmail.github.io
Other
606 stars 65 forks source link

Can't send message, can't edit message. #724

Open Doppiacoda opened 1 year ago

Doppiacoda commented 1 year ago

Hi there, I am using Astroid from nearly a year to poll and collect mails successfully (now i have version [2022-09-21 11:03:32.943460]), but since then I have not been able to send mails.

I have multiple mail accounts and a full working msmtp configuration. My .msmtprc has some default values and then in each different account I have got:

(...)
account account_one
host imap.host.com
from user1@host.com
user user1@host.com

account account_etc
host imap.host.com
from user2@host.com
user user2@host.com
(...)

In astroid config i have got (short version):

(...)
"accounts": {
  "user1@host.com": {
    "name":"user1",
    "email":"user1@host.com",
    "sendmail":"msmtp --read-envelope-from -i -t -a account_one"
    "default":"true",
    "save_sent":"true",
    (...etc...)
  }
}
"editor": {
    "cmd": "xfce4-terminal --title='Send 📧' -e 'micro %1'",
    "external_editor": "true",
    "charset": "utf-8",
    "save_draft_on_force_quit": "true",
    "attachment_words": "attach",
    "attachment_directory": "~",
    "markdown_processor": "cmark",
    "markdown_on": "true"
},
(...)

Apart that, when i go to Astroid, this is what I get in the compose message side select: image two <> with empty inside, like Astroid is not reading my accounts.[accountname].name and accounts.[accountname].emailm which I see from Astroid Configuration Reference, respectively "it will be used in the from address" and "also used in the from address".

Then when i compose a message from within Astroid mail composer (I use xfce4-terminal with micro, as you can see from my Astroid config), like that:

From: user1 <user1@host.com>
To: anyone@anywhere.world
Cc: 
Subject: This is the subject

And thats the message

when I save the message and send the y command to send it, Astroid says: No recipients defined!. image

Infact if I watch the message source with V that's what I get:

image

Also, after saving a message and closing micro and the terminal, if I press Enter to edit message, I get a new blank text like this:

From: 
To: 
Cc: 
Subject: 

Really love Astroid, but now it is been long time and I would love to send mails with this awesome client, so I need some help.

jorsn commented 1 month ago

Did/does this persist?