Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email as attachment #237

Closed
hugoroy opened this issue Dec 3, 2016 · 18 comments
Closed

Email as attachment #237

hugoroy opened this issue Dec 3, 2016 · 18 comments
Labels
Milestone

Comments

@hugoroy
Copy link
Contributor

hugoroy commented Dec 3, 2016

Having trouble dealing with email as attachments.

Let's say I want to forward 2 emails from 2 different threads. This is a bit difficult to do with any email app.

  1. Go to email 1, save email 1 in a file with s (astroid saves email1.eml)
  2. Go to email 2, save email 2 in a file with s (astroid saves email2.eml)
  3. Write a new email, attach email1.eml and email2.eml

Now, things go wrong.

Scenario 1: Send the email right away

Now if you try to open your sent email and open an attachment, you get this:

capture d ecran de 2016-12-03 13-10-15

Scenario 2: Save as draft

Now go back to your draft, edit the email body in your text editor, save the email body text. And the attachments are gone.

@gauteh gauteh added the bug label Dec 7, 2016
@gauteh
Copy link
Member

gauteh commented Dec 7, 2016

Hm, maybe the emails have to be attached as GMimeMessage parts. Hopefully this can be done in a reliable way, will check.

@gauteh
Copy link
Member

gauteh commented Dec 7, 2016

Please try #239.

@hugoroy
Copy link
Contributor Author

hugoroy commented Dec 7, 2016

It worked. Apart from the fact that when saving as draft, it was then written:

" Error: Non-viewable part! " in the body of the email

@gauteh
Copy link
Member

gauteh commented Dec 7, 2016 via email

@hugoroy
Copy link
Contributor Author

hugoroy commented Dec 7, 2016

  1. save an email as file.eml
  2. write a new email
  3. attach file.eml
  4. save as draft
  5. quit astroid
  6. open draft again
  7. edit the draft
  8. here it is.

@gauteh
Copy link
Member

gauteh commented Dec 7, 2016

Hm, it doesn't here - would you mind trying with attaching another e-mail?

@hugoroy
Copy link
Contributor Author

hugoroy commented Dec 7, 2016 via email

@gauteh
Copy link
Member

gauteh commented Dec 7, 2016

Is the re-start of astroid necessary?

@gauteh
Copy link
Member

gauteh commented Dec 7, 2016 via email

@hugoroy
Copy link
Contributor Author

hugoroy commented Dec 7, 2016 via email

@gauteh
Copy link
Member

gauteh commented Dec 8, 2016 via email

@gauteh
Copy link
Member

gauteh commented Dec 8, 2016 via email

@gauteh
Copy link
Member

gauteh commented Dec 9, 2016 via email

@gauteh gauteh modified the milestone: Release v0.7 Dec 16, 2016
@gauteh
Copy link
Member

gauteh commented Dec 21, 2016

Please try #239 again.

@hugoroy
Copy link
Contributor Author

hugoroy commented Dec 30, 2016

Opening an email thread failed:




[10:47:10.437175] [0x00007f5c973c3a00] [debug] mw: focus-in: 1 active: true, in_quit: false
[10:47:10.890998] [0x00007f5c973c3a00] [debug] ti: open thread: 0000000000023845 (true)
[10:47:10.893417] [0x00007f5c973c3a00] [debug] theme: loading..
[10:47:10.893556] [0x00007f5c973c3a00] [info] re: using user configured resource: /home/hugo/.gitRepos/astroid/ui/thread-view.html
[10:47:10.893728] [0x00007f5c973c3a00] [debug] tv: testing version: 3
[10:47:10.893803] [0x00007f5c973c3a00] [error] tv: html file version does not match!
[10:47:10.893896] [0x00007f5c973c3a00] [info] re: using user configured resource: /home/hugo/.gitRepos/astroid/ui/thread-view.scss
[10:47:10.894005] [0x00007f5c973c3a00] [debug] tv: testing version: 3
[10:47:10.894060] [0x00007f5c973c3a00] [error] tv: scss file version does not match!
[10:47:10.894920] [0x00007f5c973c3a00] [info] theme: processing: /home/hugo/.config/astroid/ui/thread-view.scss
[10:47:10.895554] [0x00007f5c973c3a00] [error] theme: error processing: Internal Error: File context has no input path


(astroid:26308): glibmm-ERROR **: 
unhandled exception (type std::exception) in signal handler:
what: theme: could not process scss: Internal Error: File context has no input path


[1]    26308 trace trap (core dumped)  ./astroid

@gauteh
Copy link
Member

gauteh commented Dec 30, 2016 via email

@gauteh
Copy link
Member

gauteh commented Dec 30, 2016

I've updated the branch, pull-force and you should be good.

@gauteh
Copy link
Member

gauteh commented Jan 2, 2017

Merged #239, considering fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants