[Koha-cvs] CVS: koha/opac opac-sendbasket.pl,1.1,1.2

doXulting doxulting at users.sourceforge.net
Fri Jul 23 18:06:02 CEST 2004


Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3756/opac

Modified Files:
	opac-sendbasket.pl 
Log Message:
records appear in message body instead of in attached file

Index: opac-sendbasket.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-sendbasket.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** opac-sendbasket.pl	12 Jul 2004 08:10:40 -0000	1.1
--- opac-sendbasket.pl	23 Jul 2004 16:06:00 -0000	1.2
***************
*** 91,103 ****
  $email_header
  
- $boundary
- Content-Type: text/plain; name="$email_file"
- Content-Transfer-Encoding: quoted-printable
- Content-Disposition: attachment; filename="$email_file"
- 
  $mail{'body'}
  $boundary--
  END_OF_BODY
  
  	# Sending mail
  	if (sendmail %mail) {
--- 91,116 ----
  $email_header
  
  $mail{'body'}
+ 
  $boundary--
  END_OF_BODY
  
+ #	$mail{body} = <<END_OF_BODY;
+ #$boundary
+ #Content-Type: text/plain; charset="iso-8859-1"
+ #Content-Transfer-Encoding: quoted-printable
+ #
+ #$email_header
+ #
+ #$boundary
+ #Content-Type: text/plain; name="$email_file"
+ #Content-Transfer-Encoding: quoted-printable
+ #Content-Disposition: attachment; filename="$email_file"
+ #
+ #$mail{'body'}
+ #
+ #$boundary--
+ #END_OF_BODY
+ 
  	# Sending mail
  	if (sendmail %mail) {





More information about the Koha-cvs mailing list