Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:08 PM
Yan
Guest
 
Posts: n/a
Default CDONTS HTML mails with images

Hi everyone,

I got a little problem while sending HTML e-mails with CDONTS.

I generate my e-mail body without problems into a string variable. When I
display it to the browser via a "response.write", it's OK, including images.
Then I set this string variable to the CDONTS.Newmail object (body
property), and I send the mail.

The format settings are the following :
MyCDONTSMail.BodyFormat=0
MyCDONTSMail.MailFormat=0

when I revcieve the mail, I have comments (<!----------------------------->)
instead of image tags...
does anybody know where it could come from ? A CDONTS parameter ? a server
setting ? A firewall issue ?

Thanks for your help,

Yan.


  #2  
Old July 19th, 2005, 01:08 PM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: CDONTS HTML mails with images

Please see the last section of http://www.aspfaq.com/2474

Also, remember that many clients are going to disable HTML (I can, and do,
in both Outlook and Outlook Express).

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




"Yan" <trey _at_ ifrance.[spamSucks]com> wrote in message
news:uJtHibqMEHA.2500@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi everyone,
>
> I got a little problem while sending HTML e-mails with CDONTS.
>
> I generate my e-mail body without problems into a string variable. When I
> display it to the browser via a "response.write", it's OK, including[/color]
images.[color=blue]
> Then I set this string variable to the CDONTS.Newmail object (body
> property), and I send the mail.
>
> The format settings are the following :
> MyCDONTSMail.BodyFormat=0
> MyCDONTSMail.MailFormat=0
>
> when I revcieve the mail, I have comments[/color]
(<!----------------------------->)[color=blue]
> instead of image tags...
> does anybody know where it could come from ? A CDONTS parameter ? a server
> setting ? A firewall issue ?
>
> Thanks for your help,
>
> Yan.
>
>[/color]


  #3  
Old July 19th, 2005, 01:09 PM
Yan
Guest
 
Posts: n/a
Default Re: CDONTS HTML mails with images

Hi Aaron,

Unfortunately, the people I'm programming this application for *want* HTML
e-mails ...

Thanks for the FAQ... As I seemed to have followed every step correctly, I
took some info about my company SMTP server... and it appears that it's
configured to remove <img> tags from e-mails !


Bye,

Yan.



Aaron Bertrand - MVP wrote:[color=blue]
> Please see the last section of http://www.aspfaq.com/2474
>
> Also, remember that many clients are going to disable HTML (I can,
> and do, in both Outlook and Outlook Express).
>
>
> "Yan" <trey _at_ ifrance.[spamSucks]com> wrote in message
> news:uJtHibqMEHA.2500@TK2MSFTNGP12.phx.gbl...[color=green]
>> Hi everyone,
>>
>> I got a little problem while sending HTML e-mails with CDONTS.
>>
>> I generate my e-mail body without problems into a string variable.
>> When I display it to the browser via a "response.write", it's OK,
>> including images. Then I set this string variable to the
>> CDONTS.Newmail object (body property), and I send the mail.
>>
>> The format settings are the following :
>> MyCDONTSMail.BodyFormat=0
>> MyCDONTSMail.MailFormat=0
>>
>> when I revcieve the mail, I have comments[/color]
> (<!----------------------------->)[color=green]
>> instead of image tags...
>> does anybody know where it could come from ? A CDONTS parameter ? a
>> server setting ? A firewall issue ?
>>
>> Thanks for your help,
>>
>> Yan.[/color][/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles