Revision 0572a0b8
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/IMAPClient.pm | ||
---|---|---|
51 | 51 |
} |
52 | 52 |
} |
53 | 53 |
|
54 |
sub store_email_in_email_folder { |
|
55 |
my ($self, $email_string, $folder_path) = @_; |
|
56 |
$folder_path ||= $self->{base_folder}; |
|
57 |
|
|
58 |
my $folder_string = $self->get_folder_string_from_path($folder_path); |
|
59 |
$self->{imap_client}->append_string($folder_string, $email_string) |
|
60 |
or die "Could not store email in folder '$folder_string': " |
|
61 |
. $self->{imap_client}->LastError() . "\n"; |
|
62 |
} |
|
63 |
|
|
54 | 64 |
sub update_emails_from_folder { |
55 | 65 |
my ($self, $folder_path) = @_; |
56 | 66 |
$folder_path ||= $self->{base_folder}; |
Auch abrufbar als: Unified diff
Imap-Sent verschiebe IMAP-Logik nach IMAPClient