aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/mail.go
diff options
context:
space:
mode:
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, ","))
011875051224f&follow=1'>Update gtk-version in glade filesRené 'Necoro' Neumann8-8/+8 2010-05-22Fix the link buttonsRené 'Necoro' Neumann1-1/+1 2010-05-20Handle missing eix-cache file more gracefullyRené 'Necoro' Neumann1-0/+7 2010-05-20More declarative handling of the database typesRené 'Necoro' Neumann3-46/+59 2010-05-12Updated French translation to current code statusClement Bourgeois1-52/+56 2010-05-12Unused French translations purgedClement Bourgeois1-18/+0 2010-05-11Fix release script pathesv0.14René 'Necoro' Neumann1-1/+2 2010-05-11Add '--plugin-dir' optionRené 'Necoro' Neumann1-1/+9 2010-05-11Add a README message to the releaseRené 'Necoro' Neumann1-1/+14