Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > CDONTS HTML mails with images

Reply
Thread Tools

CDONTS HTML mails with images

 
 
Yan
Guest
Posts: n/a
 
      05-05-2004
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.


 
Reply With Quote
 
 
 
 
Aaron Bertrand - MVP
Guest
Posts: n/a
 
      05-05-2004
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:...
> 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.
>
>



 
Reply With Quote
 
 
 
 
Yan
Guest
Posts: n/a
 
      05-06-2004
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:
> 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:...
>> 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.



 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure for delivering mails with server.CreateObject("cdonts.newmail") haode ASP General 0 08-31-2004 07:41 AM
converting Mozilla mails into Outlook Express mails Martin Geers Firefox 1 07-17-2004 01:11 AM
CDONTS problem: Some mails sit in the queue, most go through Augustus ASP General 6 04-30-2004 04:51 PM
CDONTS problem (attaching images) Poppy ASP General 1 04-21-2004 12:05 PM
e-mails going to a black hole, or companies that don't reply e-mails Mauricio Freitas NZ Computing 5 02-10-2004 01:21 AM



Advertisments