Revision 48399a5a
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
SL/Mailer.pm | ||
---|---|---|
194 | 194 |
} |
195 | 195 |
|
196 | 196 |
print OUT qq|--${boundary} |
197 |
Content-Type: $application/$self->{format}; name="$filename"; charset="$self->{charset}" |
|
197 |
Content-Type: $application/$self->{format}; name="$filename"; |; |
|
198 |
|
|
199 |
# only set charset for attachements of type text. every other type should not have this field |
|
200 |
# refer to bug 883 for detailed information |
|
201 |
if ($application eq 'text' && $self->{charset}) { |
|
202 |
print OUT qq|charset="$self->{charset}" |; |
|
203 |
} |
|
204 |
|
|
205 |
print OUT qq| |
|
198 | 206 |
Content-Transfer-Encoding: BASE64 |
199 | 207 |
Content-Disposition: attachment; filename="$filename"\n\n|; |
200 | 208 |
|
Auch abrufbar als: Unified diff
Charset nur bei Type 'text' Anhängen setzen.