Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Send email message with attachments

Reply
Thread Tools

Send email message with attachments

 
 
Aleksei Pashin
Guest
Posts: n/a
 
      10-12-2004

Hi
I am trying to send email message from my ASP.NET page using MailMessage
SmtpMail.
Message must have the attachment file.
When its size grows 150K I get an error message

System.Runtime.InteropServices.COMException: Unspecified error

TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters) +473
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
methodName, Object[] args) +58


Could you help me to solve this problem.
Thank you


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Send email attachments using Java through Outlook Express Andrew Thompson Java 0 12-07-2006 07:35 AM
Send email message with attachments Aleksei Pashin ASP .Net 2 12-09-2005 01:44 PM
convert to pdf and then send as email attachments Music Lover ASP .Net 5 05-12-2005 02:53 AM
attachments unable to read attachments from email bub.mk Computer Support 1 09-29-2004 02:29 AM
microsoft do not send email with attachments Alan Goodjohn Computer Support 36 09-21-2003 06:23 PM



Advertisments