aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 00:06:47 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 00:06:47 +0200
commiteb6f0e850adeb0a729a5c24f38a04fba9a93812c (patch)
treee5e19d0e330e6b0837c5bf3c4acae241865264d1 /internal
parent1525392a23c86214bf7ad1b5b7d8983f7b30837a (diff)
downloadfeed2imap-go-eb6f0e850adeb0a729a5c24f38a04fba9a93812c.tar.gz
feed2imap-go-eb6f0e850adeb0a729a5c24f38a04fba9a93812c.tar.bz2
feed2imap-go-eb6f0e850adeb0a729a5c24f38a04fba9a93812c.zip
Fix typo
Diffstat (limited to '')
-rw-r--r--internal/feed/mail.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/mail.go b/internal/feed/mail.go
index 8bb9846..8037221 100644
--- a/internal/feed/mail.go
+++ b/internal/feed/mail.go
@@ -25,7 +25,7 @@ func address(name, address string) []*mail.Address {
return []*mail.Address{{Name: name, Address: address}}
}
-func (item *item) fromAdress() []*mail.Address {
+func (item *item) fromAddress() []*mail.Address {
switch {
case item.Item.Author != nil && item.Item.Author.Email != "":
return address(item.Item.Author.Name, item.Item.Author.Email)
@@ -51,7 +51,7 @@ func (item *item) writeHtml(writer io.Writer) error {
func (item *item) buildHeader() message.Header {
var h mail.Header
h.SetContentType("multipart/alternative", nil)
- h.SetAddressList("From", item.fromAdress())
+ h.SetAddressList("From", item.fromAddress())
h.SetAddressList("To", item.toAddress())
h.Set("X-Feed2Imap-Version", config.Version())
h.Set("X-Feed2Imap-Reason", strings.Join(item.reasons, ","))
colspan='5' class='logmsg'> 2007-07-25changed design / added linknecoro5-86/+188 2007-07-24made the resume_loop-plugin change titles toonecoro5-7/+22 2007-07-21added logviewersnecoro7-215/+429 2007-07-21updated howtonecoro1-14/+24 2007-07-20new Plugin Schemenecoro1-5/+4 2007-07-20new Plugin Schemenecoro1-1/+1 2007-07-20new Plugin Schemenecoro9-162/+214 2007-07-13fixesnecoro4-27/+37 2007-07-13new fancier log outputnecoro14-127/+116 2007-07-11added SIGSTOP/SIGCONT support; SIGTERM now works ;)necoro8-208/+275 2007-07-09bug in shutdown pluginnecoro2-5/+12 2007-07-09added resume_loop pluginnecoro1-1/+1 2007-07-09added resume_loop pluginnecoro10-22/+162 2007-07-07some more documentationnecoro6-4/+108 2007-07-07Some documentation worknecoro7-18/+129