473,804 Members | 2,615 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDO/CDONTS and truncated attachments

Hello,

On our previous production server, we used CDONTS to attach jpeg image
to the mail. On our new server (both are Win2000) attachments are
truncated to ~108B (that's what outlook shows), or 0 bytes when I try
to save to disk from Outlook. I'm sure that files to be attached are
accesible, because security is set to allow for Everyone. I suspect
something with SMTP config, but what? Because I couldn't find what's
wrong I moved to CDO, but the result is still the same in the end. Any
ideas?
Jul 19 '05 #1
2 1763
IIS's SMTP does have a size limit for outgoing messages, which I believe is
enabled by default. You're best off asking in an IIS group, however.

Ray at home

"coenve" <co****@wp.pl > wrote in message
news:d3******** *************** ***@posting.goo gle.com...
Hello,

On our previous production server, we used CDONTS to attach jpeg image
to the mail. On our new server (both are Win2000) attachments are
truncated to ~108B (that's what outlook shows), or 0 bytes when I try
to save to disk from Outlook. I'm sure that files to be attached are
accesible, because security is set to allow for Everyone. I suspect
something with SMTP config, but what? Because I couldn't find what's
wrong I moved to CDO, but the result is still the same in the end. Any
ideas?

Jul 19 '05 #2
try at "outgoing security" window
in your iis/smtp properties

"coenve" <co****@wp.pl > escribió en el mensaje
news:d3******** *************** ***@posting.goo gle.com...
Hello,

On our previous production server, we used CDONTS to attach jpeg image
to the mail. On our new server (both are Win2000) attachments are
truncated to ~108B (that's what outlook shows), or 0 bytes when I try
to save to disk from Outlook. I'm sure that files to be attached are
accesible, because security is set to allow for Everyone. I suspect
something with SMTP config, but what? Because I couldn't find what's
wrong I moved to CDO, but the result is still the same in the end. Any
ideas?

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1271
by: Chris Kennedy | last post by:
I have a web application which saves files to a server and emails the file as an attachment. I generate a unique name for each file by concatenating a unique numeric string so the file name is unique and cannot be accidentally be overwritten. I also store the original name of the file. Is there any way to rename the attachment when I send it so it doesn't have the unique name but rather the orignal one.
1
1284
by: Eric Caron | last post by:
Hi all, I have a page that lets the users make contact groups and send an email to them. I have a form that lets the user enter the details of his message including his full name and his email address. Once this form is submitted, I do the following to get a string for .From property of the CDONTS mail object: Sender = userFullName & "<" & userEmailAddress & ">"
2
1888
by: Jammer | last post by:
Can someone give me some sample code to use CDONTS.new to send email with an attachment? I've got sample code from the following website; http://msdn.microsoft.com/library/en-us/cdo/html/_denali_newmail_object_cdonts_library_.asp?frame=true But, I'm having trouble GETTING the relevant field from my HTML form! I can't seem to be able to get the field property. :( It just comes up as a blank.
7
2037
by: Griff | last post by:
I have been using the CDONTS component on Windows 2000 to send emails for a long time now (code below). However, over time, the report that I am sending has got rather longer and it now gives me an "unknown exception" error. However, I know that it's because there's now too much data (If I remove some of the text it goes fine). I've "compacted" the message as much as I can, but I've got up to the limit now of how much I can compact...
4
1874
by: Jason Steeves | last post by:
I am using cdonts to send mail messages with an attachment. The problem I am having is the messages are going through OK but the attachments are not there. Any ideas? I have tried my code elsewhere and it looks OK...........Jason
2
3311
by: Anthony Boudouvas | last post by:
Hi to all, i am just try to send emails in a timer-loop fashion, using the code below and i get the following error message: Could not create 'CDONTS.NewMail' The problem is not happening all the time and i do not understand why is happening at all.
2
1858
by: =?Utf-8?B?amxvcGVzMTUx?= | last post by:
Here the sample code, it fails on the attachment retrieving the file. The file is located on a remote server. The folder is Shared & Web Shared with EveryOne having Full access to the shared folder. I can pull the file from other ways, dropping the full path in the Run of Windows, Using Outlook to send an e-mail with the file attached I get one of those Unspecified error messages. By the way this code works if the file is local. I need...
3
1127
by: Louise949 | last post by:
I receive only one email that is truncated every time. There is nothing unusual about this email...no pictures or attachments, just words. This person's server claims that it is not a problem with them. My server also makes the same claim. This person also claims that no one else that they send emails to is having this problem. Each email that I receive from them has the iplanet warning that the mail has been truncated. All the other...
7
2892
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the functionality of cdonts so that I can test/develop on my local machine, preferably without actually sending any mail to the persons involved.
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10569
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.