|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi
i have a problem in sending attachment it is so strange when i try to attach a file to my mail ,it is ok but whene i when i send the mail to the other mail address : 1- the size of mail is correct, 2- the attachmen Icon comes into the view 3- there is a link to download that attachment 4- whene i download the file it is out of order ,size and name of file are ok but i can't open it please take a look at my script and tell me what is wrong : PHP Code:
Last edited by Arash-mikaeili : September 15th, 2003 at 10:56 AM. |
|
#2
|
|||
|
|||
|
Are you receving any error messages when the email is sent?
I can't seem to spot any problems in the script...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
hi
no I don't recive any error or notice or warning when i send the mail. so I cang find out the Problin ,it's killing me! |
|
#4
|
|||
|
|||
|
Put this at the top of your script:
error_reporting(E_ALL); Maybe you will find more info on the problem this way.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#5
|
|||
|
|||
|
thanks for your note but i already set error_reapoting to error_reporting = E_ALL
and display_errors = On and display_startup_errors = On so if there is any error I will recive a messege Last edited by Arash-mikaeili : September 19th, 2003 at 02:05 AM. |
|
#6
|
||||
|
||||
|
What do you mean you can't open the file? Is it coming across corrupt? I'm assuming you've got a program installed that can read the file. Is "out of order" the error message you're getting when you try to open the file? Does this happen for all filetypes and for a variety of file sizes?
|
|
#7
|
|||
|
|||
|
Hi
yes the file is corrupt . and this is for all file types including image compress and ... |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Problem in sending attachment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|