473,839 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mail body get truncated while using CDO in ASP

Hi
my scenario is
i ve upgraded my asp application to windows 2003 +IIS 6.0 + virtual
SMTP server enabled environment from win 2000.
so i need to update the mail procedure too.(becox i used CDONTs
previously which is not supported in win 2003 by default).i have coded
my mail sending script using CDO. The problem i am now facing is the
mail message which is generated by my application is get truncated at
the receiving end..

Also i want to mention the way i coded my mailing module.
i have a vbscript function to send email that uses CDO now
and mailsending script is being called by a javascript block where i am
concatenating the mail body.

Also i dont receive mails at some personal domains. at the same time
mail reaches free domains like yahoo,hotmail gmail.

can anyone help me in this regard.?

Thanx in advance.

Jul 17 '06 #1
1 1888

"visu" <k.******@gmail .comwrote in message
news:11******** **************@ s13g2000cwa.goo glegroups.com.. .
Hi
my scenario is
i ve upgraded my asp application to windows 2003 +IIS 6.0 + virtual
SMTP server enabled environment from win 2000.
so i need to update the mail procedure too.(becox i used CDONTs
previously which is not supported in win 2003 by default).i have coded
my mail sending script using CDO. The problem i am now facing is the
mail message which is generated by my application is get truncated at
the receiving end..

Also i want to mention the way i coded my mailing module.
i have a vbscript function to send email that uses CDO now
and mailsending script is being called by a javascript block where i am
concatenating the mail body.

Also i dont receive mails at some personal domains. at the same time
mail reaches free domains like yahoo,hotmail gmail.

can anyone help me in this regard.?
Not without seeing a smallish chunk of code where you think the problem is.

You might try specifying a pickup folder configuration and specifying a
temporary folder as the destination. Now when you send you'll see exactly
what the code sends. This will tell you if the message is being corrupted
in transit or whether your code is generating a truncated version in the
first place.

Perhaps you can harvest a good version of an email from the previous server.
Compare the encodings.

Thanx in advance.

Jul 17 '06 #2

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

Similar topics

7
3277
by: PeterR | last post by:
I've spent weeks trying to write a function that is simple to use for sending emails with attachments, but I my programming skills are not that advanced. I've noticed a few postings in these newsgroups with the same problem, so I just want to share my solution. I recommend using libmail from http://lwest.free.fr/doc/php/lib/index.php3?page=mail&lang=en it has made my university project much simplier now! :-)
2
1533
by: Michael Satterwhite | last post by:
I have a survey form that I want mailed to the client. I've built the message body as plain text and tested it by writing it to a file and examining the file. It's being built correctly. When I send it through mail by a command similar to: mail($to, 'Survey Results', $msgBody, "From: xxx@yyy.com"); the message gets broken up. At periodic places in the file, I seea "!" (without the quotes) being inserted and the text format is broken....
5
2223
by: Bertus Dam | last post by:
Hi, When I use System.Web.Mail.MailMessage to send an e-mail, my message gets truncated. It's 12kB instead of 140kB. How can I solve this?? Bertus
1
2524
by: Jitesh Sinha | last post by:
Hi, I am running Windows 2003/ IIS 6.0. I was stuck with rather a abnormal behaviour of System.Web.mail class. It was truncating the message body after 3,071 character. The code i was testing was: Import Namespace="System.Web.Mail" Dim aa as new StringBuilder(600010) Dim i as Integer
1
1684
by: mg | last post by:
I've been sending e-mail messages without difficulty using message.Body = msgText until I increased to a size that causes the received message to be truncated. Is there a limit to the size of msgText? If not how can I make it hold a longer string?
4
1330
by: Miguel | last post by:
I have a simple issues database in which the issue can be assigned to an individual via e-mail. The e-mail sendobject function is working correctly, except that the notes from the memo field are being truncated. The memo field can have an unlimited number of characters, but is there a limit as to what will be copied into the e-mail body. I would rather not have to cut and paste notes from the memo field to the e-mail if at all possible....
0
2774
by: Phil C. | last post by:
Hi, I'm using Access 2000. I have a Select Query that uses the MID function to separate the actual text of articles from the title of the articles. The articles are enterd into the underlying table (in a memo field) in html format, as one big block of text. The memo field is called (I named it before I realized that I needed to separate title from text).
34
18316
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
1
2979
by: ravibhartiya | last post by:
Hi, I am using the following code for sending email Sub SendEmail(iOrgId,strEmailFrom,strEmailSubject,strEmailBody,strEmailTo) Dim ObjEmail ObjEmail.To=strEmailTo ObjEmail.From=strEmailFrom ObjEmail.Subject=strEmailSubject ObjEmail.HtmlBody=strEmailBody ObjEmail.Send
0
10911
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...
1
10654
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10298
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...
0
9429
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7833
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
5683
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
5867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4066
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
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.