473,396 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Message not sending.. but why!?

Cat
Hey all,
I am experiencing this really bizzard problem with CDO and W2K.
I have the following code in ASP:

Dim objCDO
set objCDO = CreateObject("CDO.Message")
Dim strMailBody
Dim strMailSubject
strMailBody = "User : John has changed their profile. "
strMailSubject = "Sometext"
objCDO.To = "Jo********@Shabadu.com"
objCDO.From = "Sh*****@joeJoe.com"
objCDO.cc= ""
objCDO.Subject = strMailSubject
objCDO.TextBody = strMailBody

objCDO.Send
with the follwoing code, the message gets stuck in the Queue folder
under mailroot. BUT if i change objCDO.TextBody to objCDO.TextBody =
"User : John has changed their profile. " it works just fine. Am i
missing something with the way this is working?
Any help would be very helpful.
Jul 19 '05 #1
2 3577
Have you looked in the event log on the server at SMTP messages?

Also, I think you want your body to be:
John as changed his profile.

Unless of course if you mean that John changed one single profile that many
people are sharing.

Ray at work

"Cat" <ca******@yahoo.com> wrote in message
news:88**************************@posting.google.c om...
Hey all,
I am experiencing this really bizzard problem with CDO and W2K.
I have the following code in ASP:

Dim objCDO
set objCDO = CreateObject("CDO.Message")
Dim strMailBody
Dim strMailSubject
strMailBody = "User : John has changed their profile. "
strMailSubject = "Sometext"
objCDO.To = "Jo********@Shabadu.com"
objCDO.From = "Sh*****@joeJoe.com"
objCDO.cc= ""
objCDO.Subject = strMailSubject
objCDO.TextBody = strMailBody

objCDO.Send
with the follwoing code, the message gets stuck in the Queue folder
under mailroot. BUT if i change objCDO.TextBody to objCDO.TextBody =
"User : John has changed their profile. " it works just fine. Am i
missing something with the way this is working?
Any help would be very helpful.

Jul 19 '05 #2
Cat
No theres nothing in the event logs, the text of the email is just an
example, im more concearned with why its not sending out rather than
the content at this point.

I have set the MimeFormatted to true, and it seemed to work once, but
started breaking soon after. I can consisntently send the email if all
the values are hard coded, but when i change them to use variables, it
all break..

odd one.

Thanks
ca******@yahoo.com (Cat) wrote in message news:<88**************************@posting.google. com>...
Hey all,
I am experiencing this really bizzard problem with CDO and W2K.
I have the following code in ASP:

Dim objCDO
set objCDO = CreateObject("CDO.Message")
Dim strMailBody
Dim strMailSubject
strMailBody = "User : John has changed their profile. "
strMailSubject = "Sometext"
objCDO.To = "Jo********@Shabadu.com"
objCDO.From = "Sh*****@joeJoe.com"
objCDO.cc= ""
objCDO.Subject = strMailSubject
objCDO.TextBody = strMailBody

objCDO.Send
with the follwoing code, the message gets stuck in the Queue folder
under mailroot. BUT if i change objCDO.TextBody to objCDO.TextBody =
"User : John has changed their profile. " it works just fine. Am i
missing something with the way this is working?
Any help would be very helpful.

Jul 19 '05 #3

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

Similar topics

5
by: Philip Ronan | last post by:
OK, here's my 2p worth: === Q. Why am I getting the error message 'Headers already sent'? A. PHP produces this error message when you try to set a header for a web page after you have already...
4
by: Winston Nimchan | last post by:
Hi: I'm currently developing a socket application and would like to precede the data being sent with a 4 byte message length header (bin4). Can anyone help Regards Winston
3
by: Brian Keating EI9FXB | last post by:
Hello again, I've already placed a few posts on this topic. This time i've a simple application that exhibits my problem, I've placed sample solution 8k on my website should anyone be interested...
7
by: tshad | last post by:
I have been sending messages to myself from work that worked before and now all of my message only seem to be sending part of my messages. I get the first part of the message and then get...
0
by: Stephan Steiner | last post by:
Hi I'm trying to automate Nortel's VPN Client. Unlike their competitors, the Nortel client doesn't output the results of a connection attempt to the commandline, but instead uses PostMessage...
22
by: petermichaux | last post by:
Hi, I would like to display a message to Internet Explorer clients to encorage them to get Firefox. Yes they may like Internet Explorer but it is my site :) http://www.explorerdestroyer.com/...
3
by: BuddyWork | last post by:
Hello, Could someone please explain why the Socket.Send is slow to send to the same process it sending from. Eg. Process1 calls Socket.Send which sends to the same IP address and port, the...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
0
jackb
by: jackb | last post by:
Hi there. Is there any solution such that I could connect to some TAPI access number using TAPI in .NET, and then could send messages? E.g. consider SprintPCS; I could send message to any...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...

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.