Skip to main content
Participant
June 14, 2007
Question

Irritating "!" in CDOSYS ASP Email

  • June 14, 2007
  • 2 replies
  • 353 views
I have a particular online form (using classic ASP) that users get a confirmation page on which then sends the information via CDOSYS to our department. Although the confirmation page is fine I have a strange "!" character that appears in the html generated email (simple 2 column HTML table) that the staff receive.

I attempted to systematically comment out sections of code to trap the error.My frustration is that this often results in the "!" moving to consistently to another location (sometimes twice or three in an email!).

* Example 1 --> Depa! rtment
* Example 2 --> ! Ends

The ONLY clue I have is that where ever the "!" shows up there is 'one space' after it and then text. Any suggestions on what would even cause this error in CDOSYS emails using ASP?
This topic has been closed for replies.

2 replies

Inspiring
July 2, 2007
You need to put the following in your code for webapplications running on
IIS6, as it will otherwise put an ! after each 991st char:

Set oMailer= Server.Createobject("CDO.Message")
With oMailer
........
.BodyPart.ContentTransferEncoding = "quoted-printable"
......
.Send()
End With

Hope this helps.

Regards, Marja

"superduperhiro" <webforumsuser@macromedia.com> wrote in message
news:f4s77i$901$1@forums.macromedia.com...
>I have a particular online form (using classic ASP) that users get a
> confirmation page on which then sends the information via CDOSYS to our
> department. Although the confirmation page is fine I have a strange "!"
> character that appears in the html generated email (simple 2 column HTML
> table)
> that the staff receive.
>
> I attempted to systematically comment out sections of code to trap the
> error.My frustration is that this often results in the "!" moving to
> consistently to another location (sometimes twice or three in an email!).
>
> * Example 1 --> Depa! rtment
> * Example 2 --> ! Ends
>
> The ONLY clue I have is that where ever the "!" shows up there is 'one
> space'
> after it and then text. Any suggestions on what would even cause this
> error in
> CDOSYS emails using ASP?
>
>


Inspiring
June 14, 2007
Please paste the code from the page.


"superduperhiro" <webforumsuser@macromedia.com> wrote in message
news:f4s77i$901$1@forums.macromedia.com...
>I have a particular online form (using classic ASP) that users get a
> confirmation page on which then sends the information via CDOSYS to our
> department. Although the confirmation page is fine I have a strange "!"
> character that appears in the html generated email (simple 2 column HTML
> table)
> that the staff receive.
>
> I attempted to systematically comment out sections of code to trap the
> error.My frustration is that this often results in the "!" moving to
> consistently to another location (sometimes twice or three in an email!).
>
> * Example 1 --> Depa! rtment
> * Example 2 --> ! Ends
>
> The ONLY clue I have is that where ever the "!" shows up there is 'one
> space'
> after it and then text. Any suggestions on what would even cause this
> error in
> CDOSYS emails using ASP?
>
>