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 2200
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:uJ**************@TK2MSFTNGP12.phx.gbl... 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.
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:uJ**************@TK2MSFTNGP12.phx.gbl... 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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: haode |
last post by:
to some mail accounts, I can't send mails to them?
Whoes fault is this?
the part of code is as follows.
<%
set mail=server.CreateObject("cdonts.newmail")
mail.To=aaa@aaa.com...
|
by: dave |
last post by:
I am trying to generate an email from the webpage using code below, which
works fine. However I want to be able to include some dyanmic data how do I
go about it ?can anybody point me in the...
|
by: T.Michelle |
last post by:
We have few Mail templates (.html) which we
use to send mails.
We want to have some Logo in that ie ... when I send the mail to user the
image should go as in-line embedded
image in mail....
|
by: BaWork |
last post by:
I have a web form where a client can select which site members to send
an email to.
This form is populated from the contents of the member table, so the
form can have 0-x names listed on it...
|
by: maya |
last post by:
hi,
I'm designing an HTML email for a client.. I know general guidelines
(no CSS, no JavaScript... although I do use limited CSS, inside tags (as
in <span style=".."we do this at work and it...
|
by: Dr. Harvey Waxman |
last post by:
I guess I should change from cdonts to cdosys. Since I am ignorant about asp I
hope you forgive this basic question. There are two asp files for handling
mail, the one that gets the info from a...
|
by: Pav |
last post by:
Hi,
I am developing a small Intranet web application which needs to send
mails to our coporate Ids.
I am using CDONTS, But my mails never leave Que folder. Not able to
find out what the...
|
by: Pav |
last post by:
Hi,
I am developing a small Intranet web application which needs to send
mails to our coporate Ids.
I am using CDONTS, But my mails never leave Que folder. Not able to
find out what the...
|
by: Jason1983 |
last post by:
Hello sir,
When iam trying to send emails to my user accounts which are gmail id's using my application it is giving me this error.
Here is the error...
Server object error 'ASP 0177 : 800401f3'...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
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...
|
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...
|
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,...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |