Click here to Skip to main content
15,895,084 members

Comments by ramjiricky (Top 6 by date)

ramjiricky 25-Jun-14 8:46am View    
thanks for you reply sir..do you know how to bind the password
ramjiricky 14-May-14 5:17am View    
thanks for your reply but i need to pass this through client side only
ramjiricky 19-Dec-12 6:40am View    
thanks for your reply i got the answer now
ramjiricky 19-Dec-12 5:49am View    
can u please give me a exact code for send a mail with attachment
thank's for your reply
ramjiricky 19-Dec-12 5:24am View    
hi sir,
without attachment the message has been send but if i have attach some file then the error will display like below ...and i am using the same code which one i have mentioned previous question

System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\free-photo-background-952-m.jpg'. File name: 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\free-photo-background-952-m.jpg' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Net.Mail.AttachmentBase.SetContentFromFile(String fileName, String mediaType) at System.Net.Mail.AttachmentBase..ctor(String fileName) at System.Net.Mail.Attachment..ctor(String fileName) at customerdetails.SendEmail(String toAddress, String ccAddress, String bccAddress, String subject, String body, MailPriority priority, Boolean isHtml) in e:\E-mobileshop\admin\customerdetails.aspx.cs:line 275