.dat fixed length files being compressed when e-mailed to recipient through vb.net (URGENT!!!)
-
Hi All, I am having an issue at work where the .dat (fixed length) file generated for import into a client application (generated and e-mailed to customers in vb.net code using smtpclient) is being compressed into a .zip file. This is causing an issue at customer stores as they are unable to open the files and import. Any ideas why it is doing this? Is it outlook? Is it my vb application (unlikely because if you access the shared folder containing the file before sending it is not compressed) or is it the server? I really need to ghet this fixed as the phone is ringing off the hook and I cant find any helpful articles anywhere. thanks guys,
-
Hi All, I am having an issue at work where the .dat (fixed length) file generated for import into a client application (generated and e-mailed to customers in vb.net code using smtpclient) is being compressed into a .zip file. This is causing an issue at customer stores as they are unable to open the files and import. Any ideas why it is doing this? Is it outlook? Is it my vb application (unlikely because if you access the shared folder containing the file before sending it is not compressed) or is it the server? I really need to ghet this fixed as the phone is ringing off the hook and I cant find any helpful articles anywhere. thanks guys,
-
-
Na, It's something on the server. We used another mail smtp client and it worked fine. So now where to look on the server is the question?
Your comment doesn't make sense.
Mr Oizo wrote:
We used another mail smtp client and it worked fine
Mr Oizo wrote:
It's something on the server
So in your original Post, you questioned if it was something to do with Outlook? you now say it works fine with another SMTP client, so blame the server?
Dave GoogleWave: dave.m.auld[at]googlewave.com Who am I?: Web|Facebook|Twitter|LinkedIn|Bebo
-
Your comment doesn't make sense.
Mr Oizo wrote:
We used another mail smtp client and it worked fine
Mr Oizo wrote:
It's something on the server
So in your original Post, you questioned if it was something to do with Outlook? you now say it works fine with another SMTP client, so blame the server?
Dave GoogleWave: dave.m.auld[at]googlewave.com Who am I?: Web|Facebook|Twitter|LinkedIn|Bebo
:( Hi, Sorry, perhaps I am saying the wrong thing, I am not too familiar with e-mail sever lingo. Basically we used a different mail server to send it off (which i specify as a new smtp client I.p address) and then it did not compress the file. It sends through code to pc's using outlook. But when using the first smtp client I.p (server1) address it zipped the file. On the second I.p (server 2) it didn't. Thats why I can only assume something on the first mail sever is compressing the files when sending :sigh:
-
:( Hi, Sorry, perhaps I am saying the wrong thing, I am not too familiar with e-mail sever lingo. Basically we used a different mail server to send it off (which i specify as a new smtp client I.p address) and then it did not compress the file. It sends through code to pc's using outlook. But when using the first smtp client I.p (server1) address it zipped the file. On the second I.p (server 2) it didn't. Thats why I can only assume something on the first mail sever is compressing the files when sending :sigh:
That makes more sense now. You used a different email server and now it works. Well then, you will need to find out the type of server, and look up the documentation to find out if there are options to turn off automatic compression of attachments. There may also be a custom parameter value that you can pass in with the message from the client, to turn this on/off on a message by message basis, but you will need to go and investigate, as i have no idea what type of mail server you are using!
Dave GoogleWave: dave.m.auld[at]googlewave.com Who am I?: Web|Facebook|Twitter|LinkedIn|Bebo
-
That makes more sense now. You used a different email server and now it works. Well then, you will need to find out the type of server, and look up the documentation to find out if there are options to turn off automatic compression of attachments. There may also be a custom parameter value that you can pass in with the message from the client, to turn this on/off on a message by message basis, but you will need to go and investigate, as i have no idea what type of mail server you are using!
Dave GoogleWave: dave.m.auld[at]googlewave.com Who am I?: Web|Facebook|Twitter|LinkedIn|Bebo