ChessSpider
ChessSpider
Additionally, I'd like to set the Envelope-sender from creating a Campaigns. The SMTP FROM can be set via sender profile as it is now.
hi @adambirds did you started working on this issue? I'm considering a pull request
ok well i don't know anything about go so wish me luck haha
Hi @jordan-wright that's great, thanks. I'm currently here: https://github.com/ChessSpider/gophish/commit/71d8fa3e4f9394d53525cc1a2389c87697a09832 I added the envelope-sender to the template, as a template is a specific story, and the sender should match that story....
(and yeah it should use SMTP-From as fallback etc, and mysql db changes, and possibly other things)
This line has to be changed: https://github.com/gophish/gomail/blob/master/send.go#L46 It is being called by https://github.com/gophish/gophish/blob/master/mailer/mailer.go#L151. So, basically gophish/mailer/mailer.go --> gomail/send.go with a Message (envelope) as parameter. And send.go fetches the From from...
Early morning epiphany. Gomail should get the smtp sender from the sender server configuration, always. And Gomail should get the envelope sender from the Mail instance always. Gophish logic should...
Hi Jordan, Sorry I'm not that patient :). I have something working now. I'll continue a bit on code-cleanup, and hopefully it is something that is acceptable to you. I...
@adambirds In https://github.com/gophish/gophish/issues/858#issuecomment-352099339 you said you need this to make it usable for you. It's now working on my machine,, even though the actual code may change a bit more...