Giter Site home page Giter Site logo

Comments (10)

sdenaro avatar sdenaro commented on July 19, 2024 1

I can probably test it this weekend as I don't have golang on the server I use to run it.

from feed2imap-go.

Necoro avatar Necoro commented on July 19, 2024

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.

Necoro avatar Necoro commented on July 19, 2024

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.

sdenaro avatar sdenaro commented on July 19, 2024

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.

Necoro avatar Necoro commented on July 19, 2024

@sdenaro: Does the change in master fulfill your needs?

from feed2imap-go.

Necoro avatar Necoro commented on July 19, 2024

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.

Necoro avatar Necoro commented on July 19, 2024

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.

sdenaro avatar sdenaro commented on July 19, 2024

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.

Necoro avatar Necoro commented on July 19, 2024

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.

sdenaro avatar sdenaro commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.