Message not sending.. but why!?

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Message not sending.. but why!?

    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 = "JoeyJoeJoe@Shabadu.com"
    objCDO.From = "Shabadu@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.
    Cat Guest

  2. Similar Questions and Discussions

    1. Sending a CDO.Message with high importance?
      Okay... Thought I'd try to move away from CDONTS to CDOSYS. The one thing that's still a puzzle is how to send a CDO.Message so that it shows up...
    2. Error Message When Sending Message In Windows Mail
      Am I the only one getting an error message when replying to a posted message using Windows Mail. Every time I send a message I get a popup error...
    3. sending an SMS message
      I'm pretty lost: I want to write a simple (???) program to send off an SMS message.. no ring tones or embedded pictures... just an app that'll...
    4. blank message sending help!
      I been trying to stop blank messages being sent to my server with out any luck can anyone help please?? FCChatClass.prototype.sendMessage =...
    5. sending XML message to webservice problem
      I have a customer who wants to send us a XML message like this: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope...
  3. #2

    Default Re: Message not sending.. but why!?

    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" <catmilea@yahoo.com> wrote in message
    news:88741be9.0310091429.18ffb2bb@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 = "JoeyJoeJoe@Shabadu.com"
    > objCDO.From = "Shabadu@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.

    Ray at Guest

  4. #3

    Default Re: Message not sending.. but why!?

    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


    [email]catmilea@yahoo.com[/email] (Cat) wrote in message news:<88741be9.0310091429.18ffb2bb@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 = "JoeyJoeJoe@Shabadu.com"
    > objCDO.From = "Shabadu@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.
    Cat Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139