Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. .dat fixed length files being compressed when e-mailed to recipient through vb.net (URGENT!!!)

.dat fixed length files being compressed when e-mailed to recipient through vb.net (URGENT!!!)

Scheduled Pinned Locked Moved Visual Basic
csharpsysadminsaleshelp
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mr Oizo
    wrote on last edited by
    #1

    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,

    D 1 Reply Last reply
    0
    • M Mr Oizo

      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,

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2

      I think it will be your outlook. There are various options somewhere. There are also ones that resize images if you attach pictures.

      Dave GoogleWave: dave.m.auld[at]googlewave.com Who am I?: Web|Facebook|Twitter|LinkedIn|Bebo

      M 1 Reply Last reply
      0
      • D DaveAuld

        I think it will be your outlook. There are various options somewhere. There are also ones that resize images if you attach pictures.

        Dave GoogleWave: dave.m.auld[at]googlewave.com Who am I?: Web|Facebook|Twitter|LinkedIn|Bebo

        M Offline
        M Offline
        Mr Oizo
        wrote on last edited by
        #3

        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?

        D 1 Reply Last reply
        0
        • M Mr Oizo

          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?

          D Offline
          D Offline
          DaveAuld
          wrote on last edited by
          #4

          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

          M 1 Reply Last reply
          0
          • D DaveAuld

            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

            M Offline
            M Offline
            Mr Oizo
            wrote on last edited by
            #5

            :( 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:

            D 1 Reply Last reply
            0
            • M Mr Oizo

              :( 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:

              D Offline
              D Offline
              DaveAuld
              wrote on last edited by
              #6

              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

              M 1 Reply Last reply
              0
              • D DaveAuld

                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

                M Offline
                M Offline
                Mr Oizo
                wrote on last edited by
                #7

                Thanks, I'll take a look and see if I can find anything. Unfortuanately the mail server is administered by a different company but I mainly wanted to establish that it was not something on my side, rather something with their server. Thanks for the help.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups