RE: Email Attachments are corrupted
From: Peter Huang (v-phuang_at_online.microsoft.com)
Date: 03/30/04
- Next message: DraguVaso: "Re: Simulate Click-Event in ComboBox"
- Previous message: DraguVaso: "Re: Simulate Click-Event in ComboBox"
- In reply to: Russell Stevens: "Email Attachments are corrupted"
- Next in thread: Russell Stevens: "Re: Email Attachments are corrupted"
- Reply: Russell Stevens: "Re: Email Attachments are corrupted"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 08:30:46 GMT
Hi Russel,
First of all, I would like to confirm my understanding of your issue.
>From your description, I understand that when you use the System.Smtp.Mail
class to send mail with a pdf attachment. And the pdf file will be clipped
two lines at the end of the pdf file.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.
Firstly we need to isolate the problem by following the steps below.
>From your description, you will send the mail by using the local smtp
server.
So we can send a mail to an account in local smtp domain.
We can check the local smtp domain by running the "inetmgr" and navigating
to Internet Information Services/<Computer Name>/Domains
Check the domain name (e.g. computername.fareast.corp.microsoft.com)
Then in the code we can specify the recipient's email address to
Test@computername.fareast.corp.microsoft.com.
So that after the mail has been sent we can find the the mail in the
C:\Inetpub\mailroot\Drop, it should be a .eml file.
We can use the Outlook express to open the .eml file to see if the pdf file
has been corrupted.
If the file has been corrupted we can know that this may caused by the
local smtp server or the system.web.mail, so can you mail me a test pdf
file which will reproduce the problem.
If the file was not corrupted, I think this should be corrupted when we
relay the mail to the next smtp server.
When we send a mail use the system.web.mail, the mail will be generate and
sent to the local smtp(if we do not specify the smtpserver). At first the
mail will be at the C:\inetpub\mailroot\pickup directory and then was move
to the drop folder( if the recipient is in the local smtp domain) or relay
to another smtp server. So to troubleshoot the problem we need to know in
which steps the problem occurs.
Please apply my suggestion above and let me know if it helps resolve your
problem.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: DraguVaso: "Re: Simulate Click-Event in ComboBox"
- Previous message: DraguVaso: "Re: Simulate Click-Event in ComboBox"
- In reply to: Russell Stevens: "Email Attachments are corrupted"
- Next in thread: Russell Stevens: "Re: Email Attachments are corrupted"
- Reply: Russell Stevens: "Re: Email Attachments are corrupted"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|