| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| lestat -
 
 
 Joined: 15 Sep 2003
 Posts: 130
 Location: GREEN BAY
 
 | 
			
				|  Posted: Wed Feb 11, 2004 7:08 pm    Post subject: Email attachment - formmail |   |  
				| 
 |  
				| I am using Andrew Rileys Formmail. I am trying to have an attachment as part of a form. 
 
  	  | Code: |  	  | <form enctype="multipart/form-data" action="../aupload/formmail.php" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="100000">
 <input type="hidden" name="file_name" value="userfile">
 Send this file: <input name="userfile" type="file">
 <input type="submit" value="OK">
 </form>
 | 
 
 I see the attachment is sent. Text files come through just fine. When I try to open a .jpg, all I get is an "X". If I send a .pdf and try to open it after its sent I get a message by the reader that says "file is damaged".  How can I make sure the files attached are readable from the recipients(me) side?
 
 Is there some setting I need to change on the server?
 
 Thnx
 |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Fri Feb 13, 2004 4:55 pm    Post subject: Re: Email attachment - formmail |   |  
				| 
 |  
				| lestat, 
 What you describe seems to be a bug in the script. We'll review it and give you more information ASAP.
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| lestat -
 
 
 Joined: 15 Sep 2003
 Posts: 130
 Location: GREEN BAY
 
 | 
			
				|  Posted: Tue Mar 09, 2004 6:45 pm    Post subject: |   |  
				| 
 |  
				| I know you guys are busy, but, any word on this yet? |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| iNaNimAtE -
 
 
 Joined: 05 Nov 2003
 Posts: 2381
 Location: Everywhere you're not.
 
 | 
			
				|  Posted: Wed Mar 10, 2004 1:21 am    Post subject: |   |  
				| 
 |  
				| It is probably because this FormMail script cannot handle attachments other than text. Try a different script. _________________
 Bienvenidos!
 |  | 
	
		| Back to top |                | 
	
		|  | 
	
		| lestat -
 
 
 Joined: 15 Sep 2003
 Posts: 130
 Location: GREEN BAY
 
 | 
			
				|  Posted: Wed Mar 10, 2004 3:37 pm    Post subject: |   |  
				| 
 |  
				| iNaNimAtE: Are you positive about this :?:  Would you have any suggestions :?:  I really dislike "revamping" existing systems, but if I need to I will. :( |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Fri Mar 12, 2004 3:39 pm    Post subject: |   |  
				| 
 |  
				|  	  | lestat wrote: |  	  | I know you guys are busy, but, any word on this yet? | 
 Please send your HTML form code to support@aprelium.com . We need it to test the script.
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| iNaNimAtE -
 
 
 Joined: 05 Nov 2003
 Posts: 2381
 Location: Everywhere you're not.
 
 | 
			
				|  Posted: Sat Mar 13, 2004 4:34 am    Post subject: |   |  
				| 
 |  
				| I am not positive about it; mainly because I do not know the script. But I am positive that some scripts don't handle attachments. So it may be that your script is one of them... _________________
 Bienvenidos!
 |  | 
	
		| Back to top |                | 
	
		|  | 
	
		|  |