Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
GeneralRe: Send EMail with zip file/rar file Pin
musefan12-Jul-09 1:32
musefan12-Jul-09 1:32 
GeneralRe: Send EMail with zip file/rar file Pin
EliottA12-Jul-09 3:39
EliottA12-Jul-09 3:39 
GeneralRe: Send EMail with zip file/rar file Pin
musefan12-Jul-09 3:41
musefan12-Jul-09 3:41 
GeneralRe: Send EMail with zip file/rar file Pin
Luc Pattyn12-Jul-09 5:11
sitebuilderLuc Pattyn12-Jul-09 5:11 
GeneralRe: Send EMail with zip file/rar file Pin
OriginalGriff12-Jul-09 2:59
mveOriginalGriff12-Jul-09 2:59 
GeneralRe: Send EMail with zip file/rar file Pin
EliottA12-Jul-09 3:55
EliottA12-Jul-09 3:55 
GeneralRe: Send EMail with zip file/rar file Pin
OriginalGriff12-Jul-09 4:00
mveOriginalGriff12-Jul-09 4:00 
GeneralRe: Send EMail with zip file/rar file Pin
EliottA12-Jul-09 3:38
EliottA12-Jul-09 3:38 
The problem is the extension not the file size. Gmail detects within your zip contains an executable file which is unsafe to send over an email for obvious reasons.

To bypass this rename your zip extension to something customer (myzip.ggg) and have the recipient rename the extension back to .zip.


shai sherman wrote:
mail.Attachments.Add(new Attachment(@"c:\1.zip",MediaTypeNames.Application.Zip));


Also, don't specify the Application.Zip.


AnswerRe: Send EMail with zip file/rar file Pin
sandeshmms13-Jul-10 22:17
sandeshmms13-Jul-10 22:17 
AnswerRe: Send EMail with zip file/rar file Pin
Jimut Baran19-Nov-12 2:37
Jimut Baran19-Nov-12 2:37 
QuestionApplication Updates Pin
Baeltazor11-Jul-09 23:59
Baeltazor11-Jul-09 23:59 
AnswerRe: Application Updates Pin
EliottA12-Jul-09 3:40
EliottA12-Jul-09 3:40 
AnswerRe: Application Updates Pin
Not Active12-Jul-09 4:20
mentorNot Active12-Jul-09 4:20 
GeneralRe: Application Updates Pin
Baeltazor12-Jul-09 8:37
Baeltazor12-Jul-09 8:37 
Question[Urgent] How to detect a timezone observes DST time or not ( .Net Framework 2.0) Pin
senorAli3311-Jul-09 23:29
senorAli3311-Jul-09 23:29 
AnswerRe: [Urgent] How to detect a timezone observes DST time or not Pin
OriginalGriff12-Jul-09 0:12
mveOriginalGriff12-Jul-09 0:12 
GeneralRe: [Urgent] How to detect a timezone observes DST time or not Pin
senorAli3312-Jul-09 0:29
senorAli3312-Jul-09 0:29 
GeneralRe: [Urgent] How to detect a timezone observes DST time or not Pin
dan!sh 12-Jul-09 0:54
professional dan!sh 12-Jul-09 0:54 
GeneralRe: [Urgent] How to detect a timezone observes DST time or not Pin
senorAli3312-Jul-09 2:43
senorAli3312-Jul-09 2:43 
GeneralRe: [Urgent] How to detect a timezone observes DST time or not Pin
dan!sh 12-Jul-09 2:50
professional dan!sh 12-Jul-09 2:50 
GeneralRe: [Urgent] How to detect a timezone observes DST time or not Pin
senorAli3312-Jul-09 3:08
senorAli3312-Jul-09 3:08 
QuestionHow to set title for fixed rows in DataGridView object? Pin
pascal.schwartz11-Jul-09 20:18
pascal.schwartz11-Jul-09 20:18 
AnswerRe: How to set title for fixed rows in DataGridView object? Pin
pascal.schwartz11-Jul-09 21:32
pascal.schwartz11-Jul-09 21:32 
RantIMAPI v2 Pin
Jacob Dixon11-Jul-09 18:49
Jacob Dixon11-Jul-09 18:49 
Questionimport user32.dll in c# [modified] Pin
Vivek Vijayan11-Jul-09 16:54
Vivek Vijayan11-Jul-09 16:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.