Comments (10)
I can probably test it this weekend as I don't have golang on the server I use to run it.
from feed2imap-go.
You are right. Note to self: set "filename=" in the Content-Disposition.
@sdenaro: Out of curiosity: What kind of mail client are you using? Because the ones I have at hand, do not show the images as an explicit attachment at all (due to Content-Disposition: inline
)
from feed2imap-go.
Btw: What version of the old feed2imap are you using? They removed image attachments 6 years ago:
feed2imap/feed2imap@a34999e
(And now I know why the remaining code never made sense anymore ...)
from feed2imap-go.
I am using your fork with some changes, including the older code for filenames. I was keeping an ancient version of ruby2.3 just to run it.
from feed2imap-go.
@sdenaro: Does the change in master fulfill your needs?
from feed2imap-go.
Thanks!
Note that you don't need Go installed on the system you intend to run a go program on. Using $GOOS
and $GOARCH
(Details) you can cross-compile on any platform for any other platform and will get the final binary you need for running.
Example to compile for Win@ARM under Linux: GOOS=windows GOARCH=arm go build
from feed2imap-go.
Btw: I just fixed the build process, so doing go install github.com/Necoro/feed2imap-go@master
will also just give you the current feed2imap-go in ~/go/bin
from feed2imap-go.
I had a little problem getting it working
When I run go install github.com/Necoro/feed2imap-go@master
I get package github.com/Necoro/feed2imap-go@master: can only use path@version syntax with 'go get'
So I tried the go get options with go get github.com/Necoro/feed2imap-go@master
and I got this error
go: github.com/Necoro/feed2imap-go master => v1.2.1-0.20211029115210-4b59d684c18e go/pkg/mod/github.com/!necoro/[email protected]/internal/feed/template/template.go:4:2: package embed is not in GOROOT (/usr/local/go/src/embed)
Any idea what I am doing wrong?
from feed2imap-go.
Yeah, you need Go 1.17.
But I'll do a leap of faith here and just release it as-is: In the worst case, I'll just release another one.
/edit: There you go
from feed2imap-go.
I built and tested the package using 1.17 and then noticed you put in a new version.
it works perfectly.
from feed2imap-go.
Related Issues (20)
- docker pull no basic auth credentials HOT 2
- Do not hardcode username for https://index.docker.io/v1/ HOT 1
- StackOverflow: Atom author tag in RSS feed HOT 6
- Question: how do I specify that I want all items to land in the same folder (from different sources) HOT 5
- New option `auto-target`
- Dependabot can't resolve your Go dependency files
- `reupload-if-updated` needs enhancement? HOT 1
- Deliverability Issues HOT 4
- Sometimes feed2imap-go hangs HOT 4
- Unify items in folder
- Empty root is not allowed HOT 4
- Feature Request: Modify template HOT 7
- Readability support HOT 2
- Replace HTML entities by their counterpart HOT 1
- panic: runtime error: index out of range [0] with length 0 HOT 3
- print-cache docs? HOT 4
- Don't run if config.yml is world-readable HOT 2
- panic: send on closed channel HOT 2
- Make number of parallel IMAP connections configurable
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 feed2imap-go.