muquit / mailsend-go

mailsend-go is a multi-platform command line tool to send mail via SMTP protocol
Other
166 stars 16 forks source link

Use cygwin compile #69

Closed LLH-l closed 1 day ago

LLH-l commented 1 week ago

Hi, muquit I tri to compile the latest version in cygwin, but failed What dependency packages do I need to download in order to successfully compile it ? Thanks . . .

$ cd /home/mailsend-go-master
$ make
make: go: No such file or directory
- Compiling mailsend-go ...
go build
make: go: No such file or directory
make: *** [Makefile:20: all] Error 127
muquit commented 1 week ago

You will need to install 'go' first. I'm pretty sure go installed in WIndows can be called from cygwin environment. Thanks.

LLH-l commented 1 week ago

After installing Go, some information was thrown, and compiling it in my environment seemed a bit tricky It been almost 5 years ! Hope to release a new version

$ make
- Compiling mailsend-go ...
go build
go: gopkg.in/alexcesaro/quotedprintable.v3@v3.0.0-20150716171945-2caba252f4dc: G
et "https://proxy.golang.org/gopkg.in/alexcesaro/quotedprintable.v3/@v/v3.0.0-20
150716171945-2caba252f4dc.mod": dial tcp 142.250.204.49:443: connectex: A connec
tion attempt failed because the connected party did not properly respond after a
 period of time, or established connection failed because connected host has fai
led to respond.
make: *** [Makefile:20: all] Error 1
muquit commented 1 week ago

sorry, I don't use cygwin for so long, can you try this and see if it can pull the dependencies.

go clean -modcache
go mod tidy
make
LLH-l commented 1 week ago
$ cd /mailsend-go-master

$ go clean -modcache

$ go mod tidy
go: gopkg.in/alexcesaro/quotedprintable.v3@v3.0.0-20150716171945-2caba252f4dc: G
et "https://proxy.golang.org/gopkg.in/alexcesaro/quotedprintable.v3/@v/v3.0.0-20
150716171945-2caba252f4dc.mod": dial tcp [2404:6800:4012:6::2011]:443: connectex
: A connection attempt failed because the connected party did not properly respo
nd after a period of time, or established connection failed because connected ho
st has failed to respond.

$ make
- Compiling mailsend-go ...
go build
go: gopkg.in/alexcesaro/quotedprintable.v3@v3.0.0-20150716171945-2caba252f4dc: G
et "https://proxy.golang.org/gopkg.in/alexcesaro/quotedprintable.v3/@v/v3.0.0-20
150716171945-2caba252f4dc.mod": dial tcp [2404:6800:4012:6::2011]:443: connectex
: A connection attempt failed because the connected party did not properly respo
nd after a period of time, or established connection failed because connected ho
st has failed to respond.
make: *** [Makefile:20: all] Error 1
muquit commented 1 week ago

Looks like connection to 2404:6800:4012:6::2011]:443 is failing. It is possible firewall is blocking outbound connections to go's proxy serve, it is trying to reach proxy.golang.org but failing. Is you IPv6 configuration usually working? can you 'ping proxy.golang.org'? or does 'curl https://proxy.golang.org' work?

LLH-l commented 1 week ago

seems difficult for me to access them, it should be due to network issues and VPN, Sorry, As far as I know, many countries have imposed many restrictions on GitHub

LLH-l commented 1 week ago

OK Thanks

LLH-l commented 1 week ago

Hi, I also want to know, if send fail, it will try sending again ?