Size Limit for file attachment with CDONTS

I am using CDONTS NewMail to send mail with attachment.

Whenever the size of attached file goes beyond 1MB, it does not send the mail with the attachment.

Is there any technical doc available which talks of this?

Is there any alternative available to send mail with attachments of more that 1MB.
rahulranjanAsked:
Who is Participating?
 
gtvingo14Connect With a Mentor Commented:
are you sure your exchange is set up to send messeges with 1MB or greater?
0
 
sforcierConnect With a Mentor Commented:
If you run your own IIS Server, check the following:

- Open IIS Manager
- Navigate to and right-click the "Default SMTP Virtual Server"
- Choose properties
- Click the Messages tab
- Modify the "Limit Message Size to" value to be large enough to suit your needs


If you do not administer your own IIS Server you must contact your server's admin and ask about this. Also, if you are running a real SMTP server on your IIS box you will have to administer your mail server to allow larger email to be submitted (again, asking the server admin if you do not control the box)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.