1Revision history for Perl extension Mail::Sender. 2 3I am sorry I did not keep track of the changes :-( 4 5Version 0.4 : 6 I added several methods for most common tasks. 7 MailMsg : Send a string as a mail by single call 8 MailFile : The same plus attached files 9 SendFile : Insert a file as a part of a multipart message 10 Send(Line)Enc : Automatic encoding (Base64,Quoted-Printable) 11 12Version 0.5 : 13 Cancel : cancel an Opened message. 14 $sender->{'error'} : last error for this object. 15 @Errors : a list of error messages. 16 Several minor fixes. 17 18Version 0.6 : 19 fixed problems with Base64 encoding. Files are now read, encoded and 20 sent in parts instead of whole at once. You may call SendEnc several 21 times in one part now. 22 23... 24 25Version 0.6.6 : Added support for CC: and BCC:. 26 27Version 0.6.9b : 7/19/1999 - BETA 28 Open(), MailMsg and MailFile accept ctype, and encoding parameters. 29 30 You have more options in Part() and Body(). It's possible to send HTML 31 mails with inlined images easily now. 32 33 Error -5 (Unspecified communication error) now includes the actual 34 error returned by the mail server. 35 36 Some more examples in the docs. 37 38 Mail::Sender now tries to guess the content type for attached files. 39 40 You may now create not only multipart/mixed but also multipart/related 41 or other messages. 42 43Version 0.7.00 44 Mail/Sender.config file may be used to set up default options for 45 new Mail::Sender. You may install a function that gets called for every 46 message. 47 48Version 0.7.01 - 12/9/1999 49 bugfix (qmail would not accept attachments) 50 51Version 0.7.02 - 8/1/19100 52 bugfix 53 Don't tell me I'm stuuupid, I know it. Ever tried to send en email 54 with a line consisting of only a single dot? 55 56Version 0.7.03 - 14/1/19100 57 bugfix 58 Don't tell me I'm stuuupid, I know it. As Jan Starzynski <jan@planet.de> 59 pointed out it ate the last character on each line in SendEx() (Used in SendFile) 60 under Unix. Oh well :-( 61 62Version 0.7.04 - 8/1/19100 63 bugfix 64 A fix only in the configuration script because of some unimportant 65 problems with PPM instalation. No change to the module itself. 66 67Version 0.7.05 - 25/1/19100 68 Added fake_from, fake_to and fake_cc options to 69 new/Open/OpenMultipart/MailMsg/MailFile. 70 This allows you to send a message to a list of people, while including 71 only the list name/address in the headers. The fake_... may be whatever 72 text you like, doesn't need to look like an address. 73 74Version 0.7.06 75 bugfix 76 77Version 0.7.07 - 4/4/2001 78 bugfix 79 Fixed a stupid bug related to multipart messages (have you ever used one hash item 80 for two different purposes? I AM that stupid!) 81 82Version 0.7.08 - 4/10/2001 83 doc fix 84 85Version 0.7.09 - 6/28/2001 86 minor fixes 87 88Version 0.7.10 89 minor instalation related fixes 90 91Version 0.7.11 92 not public, beta only 93 94Version 0.7.12 - 2/18/2002 95 added debuging output 96 The problem with multiline responses from some SMTP servers (namely qmail) is solved. 97 98Version 0.7.13 - 3/13/2002 99 made compatible with Perl 5.004 again (sorry I don't have 5.004 at hand 100 and noone reported the problems before releasing 0.7.12 to general 101 public) 102 Improved compatibility with some BSD versions (using sockaddr_in() instead of pack()) 103 104Version 0.7.13.1 - 3/17/2002 105 very small and very important fix. 106 Don't tell me I'm stupid. I know it. 107 Pleae don't use 0.7.12 and 0.7.13 108 109Version 0.7.13.2-5 110 internal only, BETA versions. Please do not use. 111 112Version 0.7.14 - 6/6/2002 113 added ESMTP authentication (LOGIN, PLAIN, CRAM-MD5) 114 docs tuneup 115 various small fixes 116 117Version 0.8.00 118 119Version 0.8.01 120 internal only, please do not use 121 fixed problems with PerlIO and ascii-mode sockets under windows with Perl 5.8 122 123Version 0.8.03 - 12/29/2002 124 - added NTLM authentication 125 - send_cmd (internal function for sending commands to the server) checks for 126 broken connections 127 - reverted the server response tests 128 (instead of /^[45]/ (server reported an error) 129 I use now !/^[123]/ (server reported success) ) 130 - some documentation fixes and additions 131 132Version 0.8.04 - 01/08/2003 133 - fixed typo causing the "Unknown PerlIO layer 'raw:perlio' at .../Mail/Sender.pm line 21" 134 - fixed incorrect handling of halfhour timezones 135 136Version 0.8.05 - 03/01/2003 137 - new Mail::Sender ({..., die_on_errors => 1}); 138 139Version 0.8.06 - 03/24/2003 140 - new Mail::Sender ({..., on_errors => 'die'}); 141 - new Mail::Sender ({..., on_errors => 'undef'}); 142 - new Mail::Sender ({..., on_errors => 'code'}); 143 - A small fix for an issue with nested parts on the courier-imap server (whatever it is). 144 145Version 0.8.08 146 - fixed an error in SendEx() causing problems with qmail 147 (thanks to report&help from "Luciano Bueno " <lbueno@grupoaraucaria.com.ar>) 148 - added debugging levels 149 - added an option that tells Mail::Sender to ignore rejected recipients 150 - you can now overwrite the message-id generation function 151 - added two addins improving the content type guesswork 152 - added TestServer method/function 153 - improved handling of the last newline in quoted-printable encoded parts 154 (the Outlook problem with = appearing at the end of attached files) 155 156Version 0.8.09 157 - private 158 159Version 0.8.10 160 - use 161 $ENV{HOSTNAME} || $ENV{HTTP_HOST} 162 in preference to 163 (gethostbyname 'localhost')[0] 164 as the local name if none is specified by the user 165 - fixed half-hour timezone handling 166 - fixed 167 to => [list, of, addresses] 168 handling 169 - fixed "incorrect server name" handling (previous versions did not 170 report the problem correctly in all cases 171 - untaining the IP address of the SMTP server in all cases 172 - fixed a problem that caused rare doubling of dots in quoted-printable encoded parts. 173 - various doc improvements 174 175Version 0.8.11 176 - private 177 178Version 0.8.13 - 02/25/2006 179 - fixed incorrect handling of singlequotes in mail addresses 180 - add SMTP commands now sent in uppercase 181 - removing the port number if the local name is taken from $ENV{HTTP_HOST} 182 - improved getting the current user name 183 - can accept authid and authpwd already encoded to base64 184 - better handling of errors when reading attachments from files and when 185 opening the debug files 186 - fixed some problems in Content-type header generation 187 188Version 0.8.16 - 07/15/2008 189 - fixed unwanted modification of the parameter hash 190 191 192Version 0.8.21 193 - fixed the case in the header names (Content-type -> Content-Type) 194 - fixed the encoding of non-ascii stuff in headers (RFC 2047) 195 - fixed using the ctype even for body with MailFile 196