Comments (15)
What is the configuration line for sendmail in astroid? Also, it seems
that the problem is that there were no receipients, was there a correct
'To:' line in the e-mail?
from astroid.
Does this happen every time or did it just happen once?
from astroid.
Now that you mention it, it does seem that the 'To:' field wasn't
properly recorded by Astroid even though I put it in the email.
Maybe I had to follow the formalism of John Doe <[email protected]>
? I just wrote the email address directly, a space after "To:" without markup.
And, yes, it happened every time.
The configuration is "sendmail": "msmtp -a ampoliros" (same one I use in mutt)
from astroid.
Hugo Roy writes on January 4, 2016 11:59:
Now that you mention it, it does seem that the 'To:' field wasn't
properly recorded by Astroid even though I put it in the email.And, yes, it happens every time.
The configuration is
"sendmail": "msmtp -a ampoliros"
You have to give the -t option to msmtp:
"sendmail": "msmtp -a ampoliros -t"
Doesn't the receipients show up in the email-preview? In that case,
do you accidently add a newline in the 'To:' line? Any emails that fail
to parse are usually dropped.
from astroid.
Doesn't the receipients show up in the email-preview?
I can't test right now, but from what I recall, it didn't show up, which is why I think that maybe it doesn't parse it correctly when I just write the plain email address directly, a space after "To:" without markup etc.
from astroid.
OK, so writing "To: Hugo [email protected]" works (I see it in the preview) but not writing "To: [email protected]". That seems a bit too strict for me.
Anyway, sending I still couldn't send this email:
From: Hugo Roy <XXXXXhugoroy.eu>
To: Hugo Roy <XXXXXhugoroy.eu>
Cc:
Subject: Test envoi de mail
Test envoi de mail
Here's the output:
[debug] (21:32:12): ky: Edit mode, handling: y (edit_message.send)
[info ] (21:32:12): mode: Really send message?
[info ] (21:32:12): mode: yes-no: got yes!
[info ] (21:32:12): em: sending message..
[debug] (21:32:12): em: got tv ready.
[debug] (21:32:12): tv: set info: sending message..
[debug] (21:32:12): em: editor toggle: 0
[debug] (21:32:12): cm: initialize..
[info ] (21:32:12): msg: loading message from file (mid supplied): /home/hugo/.cache/astroid/1451939343-astroid-1-cpstynocfm-4834@xps
[debug] (21:32:12): chunk: content-type: text/plain
[debug] (21:32:12): chunk: preferred.
[debug] (21:32:12): chunk: is part (viewable: 1, attachment: 0)
[debug] (21:32:12): chunk: body: part
[debug] (21:32:12): chunk: plain text (out html: 0)
[warn ] (21:32:12): charset: not defined.
[debug] (21:32:12): cm: build..
[info ] (21:32:12): cm: wrote tmp file: /tmp/astroid-compose-siATQY
[info ] (21:32:12): msg: loading message from file: /tmp/astroid-compose-siATQY
[debug] (21:32:12): chunk: content-type: text/plain
[debug] (21:32:12): chunk: preferred.
[debug] (21:32:12): chunk: is part (viewable: 1, attachment: 0)
[info ] (21:32:12): render: loading html..
[info ] (21:32:12): tv: navigation action: 5
[info ] (21:32:12): tv: navigating to: /home/hugo/.config/astroid/3jnjaoey4mjgs0yz2796yfucy2vsrtvn01mx1ab8dbfx6m0hxre0vn53ert6hboe0w4b7z1zijmi0ohwd75w0gnwnm3hdmnwihivwudrx6tbcuoktnm05f1m
[debug] (21:32:12): tv: on_load_changed: 0
[debug] (21:32:12): cm: deinitialized.
[debug] (21:32:12): cm: initialize..
[info ] (21:32:12): msg: loading message from file (mid supplied): /home/hugo/.cache/astroid/1451939343-astroid-1-cpstynocfm-4834@xps
[debug] (21:32:12): chunk: content-type: text/plain
[debug] (21:32:12): chunk: preferred.
[debug] (21:32:12): chunk: is part (viewable: 1, attachment: 0)
[debug] (21:32:12): chunk: body: part
[debug] (21:32:12): chunk: plain text (out html: 0)
[warn ] (21:32:12): charset: not defined.
[debug] (21:32:12): cm: build..
(astroid:4834): Gtk-CRITICAL **: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
[info ] (21:32:12): cm: sending (threaded)..
[warn ] (21:32:12): cm: sending message from account: Hugo Roy <XXXXXhugoroy.eu>
msmtp: account default from /home/hugo/.msmtprc: envelope-from address is missing
[ERROR] (21:32:12): cm: could not send message!
[debug] (21:32:12): tv: on_load_changed: 1
[debug] (21:32:12): tv: on_load_changed: 3
[debug] (21:32:12): tv: on_load_changed: 2
[debug] (21:32:12): tv: load finished.
[debug] (21:32:12): tv: mathjax request: approved
[debug] (21:32:12): tv: code prettify request: approved
[debug] (21:32:12): render: html loaded, building messages..
[debug] (21:32:12): tv: adding message: 1451939343-astroid-1-cpstynocfm-4834@xps
[debug] (21:32:12): gravatar: for: XXXXXhugoroy.eu, uri: http://www.gravatar.com/avatar/19188dd148e4bb0163194085abd3d2a8?d=retro&s=48
[info ] (21:32:12): db: open db read-only.
[debug] (21:32:12): db: open time: 0.165 ms.
[info ] (21:32:12): db: closing db.
[debug] (21:32:12): create message part: 27 (siblings: 0) (kids: 0) (attachment: 0) (viewable: 1) (mimetype: text/plain)
[debug] (21:32:12): create body part: 27
[debug] (21:32:12): chunk: body: part
[debug] (21:32:12): chunk: plain text (out html: 1)
[debug] (21:32:12): enc: quoted-printable
[debug] (21:32:12): charset: utf-8
[debug] (21:32:12): mq: quote filter done, time: 0 ms.
[debug] (21:32:12): tv: code filter done, time: 0 ms.
[debug] (21:32:12): tv: make preview..
[debug] (21:32:12): chunk: body: part
[debug] (21:32:12): chunk: plain text (out html: 0)
[debug] (21:32:12): enc: quoted-printable
[debug] (21:32:12): charset: utf-8
[info ] (21:32:12): tv: ready emitted.
[debug] (21:32:12): em: got tv ready.
[debug] (21:32:12): tv: set info: sending message..
[info ] (21:32:12): em: message sending done.
[debug] (21:32:12): cm: deinitialized.
[debug] (21:32:12): em: got tv ready.
[debug] (21:32:12): tv: set warning: message could not be sent!
[debug] (21:32:12): tv: code prettify request: approved
[debug] (21:32:12): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/jax/input/TeX/config.js?rev=2.6.0
[debug] (21:32:12): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/jax/output/HTML-CSS/config.js?rev=2.6.0
[debug] (21:32:12): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/extensions/tex2jax.js?rev=2.6.0
[debug] (21:32:13): ky: Edit mode, unknown key: 65513
[debug] (21:32:13): ky: Thread View, unknown key: 65513
[debug] (21:32:13): ky: Edit mode, unknown key: 65513
[debug] (21:32:13): ky: MainWindow, unknown key: 65513
[debug] (21:32:14): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/extensions/MathMenu.js?rev=2.6.0
[debug] (21:32:14): ky: Edit mode, unknown key: 65513
[debug] (21:32:14): ky: Thread View, unknown key: 65513
[debug] (21:32:14): ky: Edit mode, unknown key: 65513
[debug] (21:32:14): ky: MainWindow, unknown key: 65513
[debug] (21:32:15): tv: request: denied: https://cdn.mathjax.org/mathjax/2.6-latest/extensions/MathZoom.js?rev=2.6.0
from astroid.
Hugo Roy writes on January 4, 2016 21:32:
OK, so writing "To: Hugo [email protected]" works (I see it in the preview) but not writing "To: [email protected]". That seems a bit too strict for me.
Hm, weird.. those should both work. Do both show up in the preview?
Anyway, sending I still couldn't send this email:
From: Hugo Roy <[email protected]> To: Hugo Roy <[email protected]> Cc: Subject: Test envoi de mail Test envoi de mail
Here's the output:
[debug] (21:32:12): ky: Edit mode, handling: y (edit_message.send) [info ] (21:32:12): mode: Really send message? [info ] (21:32:12): mode: yes-no: got yes! [info ] (21:32:12): em: sending message.. [debug] (21:32:12): chunk: body: part
[...]
debug: chunk: plain text (out html: 0)
warn : charset: not defined.
debug: cm: build..(astroid:4834): Gtk-CRITICAL **: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
this worries me a little.
info : cm: sending (threaded)..
warn : cm: sending message from account: Hugo Roy [email protected]
msmtp: account default from /home/hugo/.msmtprc: envelope-from address is missing
ERROR: cm: could not send message!
I have the line:
from [email protected]
under the specfic account in .msmptrc, do you have that?
from astroid.
Or you can probably use: --read-envelope-from as an argument to msmtp, I also have the line defaults
at the top of my .msmtprc.
from astroid.
OK, so writing "To: Hugo [email protected]" works (I see it in the preview) but not writing "To: [email protected]". That seems a bit too strict for me.
Hm, weird.. those should both work. Do both show up in the preview?
No, I meant that only the first will be parsed and be in the preview, not the second.
I have the line:
from [email protected]
under the specfic account in .msmptrc, do you have that?
No. I haven't specified it (I did specify it for a google apps account I had to use for some time).
Now I added a "from" also at this account and it worked.
from astroid.
Hm, this seems to work for me:
from astroid.
from astroid.
Hugo Roy writes on January 4, 2016 23:10:
Well, this works for me as well it seems.
Is it possible that it has something to do with
save_sent_to
? I
noticed that sometimes in the documentation there were references to the
"cur" maildir folder and sometimes not...
Shouldn't really, that was just an example. I am not using any of the
other subdirs, just writing it to the folder: https://github.com/gauteh/astroid/blob/master/src/compose_message.cc#L247 .
Anyway.
So everything somehow works now?
PS: sending this from astroid :)
Yey!!
from astroid.
Well. I can't reproduce now so I guess i's fixed but I will update the wiki.
from astroid.
Ok! fingers crossed.
(btw: I reverted your latest edit in the wiki, I think it makes more
sense to put the sent email in the cur directory if you follow a maildir
scheme, since it will end up on the correct place on the remote server
in that case).
from astroid.
from astroid.
Related Issues (20)
- Incompatible with notmuch v0.32 `database.mail_root` config HOT 1
- [request] Cannot correctly reply: html emails are always snipped HOT 3
- quote_html ctest fails
- Math/Latex Support HOT 6
- error: no notmuch config file found. HOT 1
- sending mail hangs astroid with adwaita-icon-theme 42 installed HOT 2
- mails display blank screen with webkitgtk 2.36.0 HOT 2
- segfaults handling exclude_tags on startup HOT 2
- "Attach:" Pseudo-Header support
- webkit_settings_set_enable_frame_flattening() deprecation HOT 9
- Wrong variable in error message HOT 1
- How to delete messages not documented HOT 3
- [Feature Request] Package keybindings file by default
- Can't send message, can't edit message. HOT 1
- Messages without a Date header get a bogus fallback value
- segfault when attaching a file to an email HOT 6
- segfault when trying to run HOT 3
- error: no database path specified HOT 3
- Can't open attachments HOT 5
- Can't bind "main_window.next_page" to Ctrl+Tab
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astroid.