Changeset 148
- Timestamp:
- 02/25/06 17:27:17
- Files:
-
- trunk/plagger/lib/Plagger/Plugin/Publish/Gmail.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Publish/Gmail.pm
r147 r148 95 95 ### We need the "From:" and "To:" headers to pass to the SMTP mailer: 96 96 my $hdr = $self->fields(); 97 my($from) = extract_addrs( $self->get('From') );97 my($from) = MIME::Lite::extract_addrs( $self->get('From') ); 98 98 my $to = $self->get('To'); 99 99 … … 102 102 103 103 ### Get the destinations as a simple array of addresses: 104 my @to_all = extract_addrs($to);104 my @to_all = MIME::Lite::extract_addrs($to); 105 105 if ($MIME::Lite::AUTO_CC) { 106 106 foreach my $field (qw(Cc Bcc)) { 107 107 my $value = $self->get($field); 108 push @to_all, extract_addrs($value) if defined($value);108 push @to_all, MIME::Lite::extract_addrs($value) if defined($value); 109 109 } 110 110 }
