Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

corrupted ZIP attachment using COD to send emails

Status
Not open for further replies.

Admigha

IS-IT--Management
Aug 22, 2007
21
CA
I'm using this: Createobject("CDO.Configuration")
to send e-mails within VFP9 application, it works fine
But when I send zipped attachment, the file is received corrupted.
System:WindXp pro, VFP9, AVG anti virus
Any suggestion?

Thanks.



Tony Lama
Admigha SoftHouse
 
Have you tested this with another program that zips? Like either winzip, or winrar or pkzip?
Windows XP's ability to zip file something causes problems.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Thanks for replying,
But I used the zipped file locally, it opens normally.
Knowing that I tried winzip and pkzip and I had the same result, corrupted file on the receiving side.

When I send the same file using any other e-mail program I have no problem.

Tony Lama
Admigha SoftHouse
 
I think it is a matter of data type, but I don't know where to specify that the attachement is Binary intead of text. any help?

Tony Lama
Admigha SoftHouse
 
thank you verry much white605, it helped.
for others who have the same problem they can use the following in VFP: loMsg.Attachments.Add.ContentTransferEncoding="base64"
Thanks again..

Tony Lama
Admigha SoftHouse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top