Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Email


Message #1 by "Drew, Ron" <RDrew@B...> on Thu, 10 Oct 2002 16:14:27 -0400
I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...

 

<FORM name="formmail" METHOD="post"
ACTION="mailto:xxxx@y...?subject=Request from Website"
enctype="text/plain" onsubmit="return CheckForm()">

 

Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body. 

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype= "text/plain" insures the
format is correct.

 

Anyone have any ideas out there?

PS...I tried CDONTS but get an error on  

Set objCDO = Server.CreateObject("CDONTS.NewMail")


Message #2 by "Craig Flannigan" <ckf@k...> on Fri, 11 Oct 2002 09:28:46 +0100
---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail = Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!", "All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name="formmail" METHOD="post"
ACTION="mailto:xxxx@y...?subject=Request from Website"
enctype="text/plain" onsubmit="return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype= "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #3 by "Drew, Ron" <RDrew@B...> on Fri, 11 Oct 2002 08:30:47 -0400
Thanks for your reply Craig.  I have used CDONTS on my Internet club
site but not at my work Intranet site.  Does CDONTS have any affect on
the Exchange Server and the users use of MS Outlook??
Bottomline...If I ask the tech services to install it, will anything not
work on the current system or active directory?

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 4:29 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and
install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when
most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving
to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail =3D Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail
from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!",
"All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name=3D"formmail" METHOD=3D"post"
ACTION=3D"mailto:xxxx@y...?subject=3DRequest from Website"
enctype=3D"text/plain" onsubmit=3D"return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype=3D "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
Message #4 by "Craig Flannigan" <ckf@k...> on Fri, 11 Oct 2002 13:42:27 +0100
CDONTS is a component usually installed if the SMTP services are installed
on the Server.

I've no experience with Exchange I'm afraid, but CDONTS should still work.
When installing IIS, there is an option to have the SMTP service installed.
When that's done, CDONTS has always worked.

I still prefer to use Jmail - as I have had some fun and games with the Mail
queues when using CDONTS.

CDONTS is just a component, so it won't have any effect on which Mail Server
you use.



-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 11 October 2002 13:31
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


Thanks for your reply Craig.  I have used CDONTS on my Internet club
site but not at my work Intranet site.  Does CDONTS have any affect on
the Exchange Server and the users use of MS Outlook??
Bottomline...If I ask the tech services to install it, will anything not
work on the current system or active directory?

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 4:29 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and
install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when
most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving
to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail = Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail
from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!",
"All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name="formmail" METHOD="post"
ACTION="mailto:xxxx@y...?subject=Request from Website"
enctype="text/plain" onsubmit="return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype= "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #5 by "Drew, Ron" <RDrew@B...> on Fri, 11 Oct 2002 09:39:40 -0400
Thanks Craig...I will print and pass this on to the tech services group

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 8:42 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email

CDONTS is a component usually installed if the SMTP services are
installed
on the Server.

I've no experience with Exchange I'm afraid, but CDONTS should still
work.
When installing IIS, there is an option to have the SMTP service
installed.
When that's done, CDONTS has always worked.

I still prefer to use Jmail - as I have had some fun and games with the
Mail
queues when using CDONTS.

CDONTS is just a component, so it won't have any effect on which Mail
Server
you use.



-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 11 October 2002 13:31
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


Thanks for your reply Craig.  I have used CDONTS on my Internet club
site but not at my work Intranet site.  Does CDONTS have any affect on
the Exchange Server and the users use of MS Outlook??
Bottomline...If I ask the tech services to install it, will anything not
work on the current system or active directory?

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 4:29 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and
install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when
most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving
to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail =3D Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail
from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!",
"All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name=3D"formmail" METHOD=3D"post"
ACTION=3D"mailto:xxxx@y...?subject=3DRequest from Website"
enctype=3D"text/plain" onsubmit=3D"return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype=3D "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20

_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
Message #6 by "Drew, Ron" <RDrew@B...> on Fri, 11 Oct 2002 12:17:04 -0400
Thanks Again Craig...it works fine on my Intranet now except for one
item...
I forced the FROM to be my email address which is RDrew@b... as
you know.
Everyone here is standard first initial and lastname for userids on
email.

How can get the userid so I can concat it to the "@bdfusa.com" or is
that something the client side can not see or do?   I could have the
user type their userid in a text box but who knows what they will try.

Thanks again,
Ron

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 8:42 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email

CDONTS is a component usually installed if the SMTP services are
installed
on the Server.

I've no experience with Exchange I'm afraid, but CDONTS should still
work.
When installing IIS, there is an option to have the SMTP service
installed.
When that's done, CDONTS has always worked.

I still prefer to use Jmail - as I have had some fun and games with the
Mail
queues when using CDONTS.

CDONTS is just a component, so it won't have any effect on which Mail
Server
you use.



-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 11 October 2002 13:31
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


Thanks for your reply Craig.  I have used CDONTS on my Internet club
site but not at my work Intranet site.  Does CDONTS have any affect on
the Exchange Server and the users use of MS Outlook??
Bottomline...If I ask the tech services to install it, will anything not
work on the current system or active directory?

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 4:29 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and
install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when
most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving
to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail =3D Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail
from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!",
"All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name=3D"formmail" METHOD=3D"post"
ACTION=3D"mailto:xxxx@y...?subject=3DRequest from Website"
enctype=3D"text/plain" onsubmit=3D"return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype=3D "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20

_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
Message #7 by "Drew, Ron" <RDrew@B...> on Mon, 14 Oct 2002 10:27:56 -0400
Ok..so hopefully this will be my last question regarding the email
topic...at least for a while..
I have many ASP forms that I need to use a common email procedure for on
the company Intranet.  The techies want me to use Mailto:  So each form
now has an Action to a common ASP as shown below.  A hidden field
"RequestType" indicates which form the email subject relates to and all
is working except for one item.  The BODY does not include the crlf for
each item on the form.  How can I change the strBody to make this work
within the Mailto:?  Code below....and thanks ahead of time.

<%@ Language=3DVBScript %>
<% Option Explicit %>
<%
Const strHeader =3D "Verify the Information and SEND the message:"
Dim strBody, ix, formElementName, formElementValue, strSubject, ans

if Request.Form("RequestType") =3D "Vendor" then
    Response.Write "<B><font color=3Dblue>Vendor Request from 
Website<BR>"
    strSubject =3D "Vendor Request from Website"
end if

Response.Write "<B><font color=3Dblue>Verify the Information and SEND 
the
message:<br>"

strBody =3D ( "Request submitted at " & Now() & vbCrLf & vbCrLf)
For ix =3D 1 to Request.Form.Count
    formElementName =3D Request.Form.Key(ix)
    formElementValue =3D Request.Form.Item(ix)
    if Len(formElementValue) > 0 then strBody =3D strBody &
(formElementName & ": " & formElementValue & vbCrLf)
Next

strBody =3D Replace(strBody, vbCrLf, "<BR>")
Response.Write strBody
strBody =3D Replace(strBody, "<BR>", vbCrLf)
     
%>
<HTML><HEAD><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;
CHARSET=3Dwindows-1252">
<TITLE>Generic Mail Form</TITLE></head>
<body leftMargin=3D14 topmargin=3D0 bgcolor=3D#c0c0c0>

'  NEXT Statement is my
problem..........................................................=09
<FORM name=3D"formmail" METHOD=3D"post"
ACTION=3D"mailto:RDrew@b...?subject=3D<%=3DstrSubject%>&body=3D<%=3D
strBody%
>">
<input type=3Dsubmit value=3D"Send the Information">
</form>
</body></html>

.......................thanks again for looking at
it................................

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 4:29 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and
install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when
most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving
to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail =3D Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail
from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!",
"All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name=3D"formmail" METHOD=3D"post"
ACTION=3D"mailto:xxxx@y...?subject=3DRequest from Website"
enctype=3D"text/plain" onsubmit=3D"return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype=3D "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO =3D Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
Message #8 by "Craig Flannigan" <ckf@k...> on Mon, 14 Oct 2002 16:21:25 +0100
When sending email, you really can have anything you want as the Sender.

On our intranet, we make people login, validate this against our database
and then set a Username, and UserEmail session.

When sending emails off the Intranet, we do:

	jMail.From = Session("UserEmail") & "@companyname.com"


If your users do not login, then you are going on Trust alone. Sure you can
set part of the email address "@BDFUSA.com" but what the user enters for
their first part could be anything!!

Do you currently validate your users somehow?





-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 11 October 2002 17:17
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


Thanks Again Craig...it works fine on my Intranet now except for one
item...
I forced the FROM to be my email address which is RDrew@b... as
you know.
Everyone here is standard first initial and lastname for userids on
email.

How can get the userid so I can concat it to the "@bdfusa.com" or is
that something the client side can not see or do?   I could have the
user type their userid in a text box but who knows what they will try.

Thanks again,
Ron

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 8:42 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email

CDONTS is a component usually installed if the SMTP services are
installed
on the Server.

I've no experience with Exchange I'm afraid, but CDONTS should still
work.
When installing IIS, there is an option to have the SMTP service
installed.
When that's done, CDONTS has always worked.

I still prefer to use Jmail - as I have had some fun and games with the
Mail
queues when using CDONTS.

CDONTS is just a component, so it won't have any effect on which Mail
Server
you use.



-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 11 October 2002 13:31
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


Thanks for your reply Craig.  I have used CDONTS on my Internet club
site but not at my work Intranet site.  Does CDONTS have any affect on
the Exchange Server and the users use of MS Outlook??
Bottomline...If I ask the tech services to install it, will anything not
work on the current system or active directory?

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 4:29 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and
install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when
most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving
to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail = Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail
from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!",
"All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name="formmail" METHOD="post"
ACTION="mailto:xxxx@y...?subject=Request from Website"
enctype="text/plain" onsubmit="return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype= "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #9 by "Craig Flannigan" <ckf@k...> on Mon, 14 Oct 2002 16:25:44 +0100
You could try:

<%= Server.HTMLEncode(strBody) %>

Or inline with a MailTo: Tag would be....

ACTION="mailto:RDrew@b...?subject=<%=strSubject%>&body=<%=Server.HTMLE
ncode(strBody)%>">



If this doesn't work - you're not going to be able to save linefeeds in a
MailTo: tag.

I personally have had even less success getting many Email Clients to read
the Body tag anyhow - even if the installation is the same MS product - some
work, some don't.

Strange!




-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 14 October 2002 15:28
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


Ok..so hopefully this will be my last question regarding the email
topic...at least for a while..
I have many ASP forms that I need to use a common email procedure for on
the company Intranet.  The techies want me to use Mailto:  So each form
now has an Action to a common ASP as shown below.  A hidden field
"RequestType" indicates which form the email subject relates to and all
is working except for one item.  The BODY does not include the crlf for
each item on the form.  How can I change the strBody to make this work
within the Mailto:?  Code below....and thanks ahead of time.

<%@ Language=VBScript %>
<% Option Explicit %>
<%
Const strHeader = "Verify the Information and SEND the message:"
Dim strBody, ix, formElementName, formElementValue, strSubject, ans

if Request.Form("RequestType") = "Vendor" then
    Response.Write "<B><font color=blue>Vendor Request from Website<BR>"
    strSubject = "Vendor Request from Website"
end if

Response.Write "<B><font color=blue>Verify the Information and SEND the
message:<br>"

strBody = ( "Request submitted at " & Now() & vbCrLf & vbCrLf)
For ix = 1 to Request.Form.Count
    formElementName = Request.Form.Key(ix)
    formElementValue = Request.Form.Item(ix)
    if Len(formElementValue) > 0 then strBody = strBody &
(formElementName & ": " & formElementValue & vbCrLf)
Next

strBody = Replace(strBody, vbCrLf, "<BR>")
Response.Write strBody
strBody = Replace(strBody, "<BR>", vbCrLf)

%>
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
CHARSET=windows-1252">
<TITLE>Generic Mail Form</TITLE></head>
<body leftMargin=14 topmargin=0 bgcolor=#c0c0c0>

'  NEXT Statement is my
problem..........................................................
<FORM name="formmail" METHOD="post"
ACTION="mailto:RDrew@b...?subject=<%=strSubject%>&body=<%=strBody%
>">
<input type=submit value="Send the Information">
</form>
</body></html>

.......................thanks again for looking at
it................................

-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 11, 2002 4:29 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email


---------------------------------------------------------------------
PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")"
---------------------------------------------------------------------

Then it's not installed.

It would be better if you could get this working, or download and
install
JMail (free from www.dimac.net).
Then you're not relying on the users Email Client. Even at work, when
most
clients are the same some installations may not be 100% right.

Sorry I've not answered your immeidate problem, but I'd suggest moving
to a
proper email solution.

This is the same code once the Component is installed on your server.


<%
  set JMail = Server.CreateObject( "JMail.Speedmailer" )

 ' Send a simple email in a single method call.
 ' You can add multiple recipients by separating them with a ","

	'Format:  From, To, CC, Subject, Body, MailServer to send mail
from
  JMail.SendMail "me@h...", "jane@w..., lisa@w...", "Hi!",
"All
fine?", "mail.acme.com"

%>
<html>
email sent...
</html>






-----Original Message-----
From: Drew, Ron [mailto:RDrew@B...]
Sent: 10 October 2002 21:14
To: ASP Web HowTo
Subject: [asp_web_howto] Email


I have been having a problem with my INTRANET site with email.  We use
MS Outlook and I execute the following command...



<FORM name="formmail" METHOD="post"
ACTION="mailto:xxxx@y...?subject=Request from Website"
enctype="text/plain" onsubmit="return CheckForm()">



Out of 400 users, some 350 work fine and xxxx above get the message with
information in the body.

The 350 get a message indicating the message is going and they are
opening up their email address to others (this is OK)

However the other 50 just opens a blank email message with xxxx in the
TO field and the body is empty.  I thought it was that they set their
format to HTML but I read that the enctype= "text/plain" insures the
format is correct.



Anyone have any ideas out there?

PS...I tried CDONTS but get an error on

Set objCDO = Server.CreateObject("CDONTS.NewMail")




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________


_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer

Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.

Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.

Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #10 by "Aaron Fleming" <aaronf@w...> on Fri, 11 Oct 2002 09:47:22 -0400
It won't have any effect on Exchange or your ADS.

Aaron

> -----Original Message-----
> From: Drew, Ron [mailto:RDrew@B...] 
> Sent: Friday, October 11, 2002 9:40 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
> 
> 
> Thanks Craig...I will print and pass this on to the tech 
> services group
> 
> -----Original Message-----
> From: Craig Flannigan [mailto:ckf@k...] 
> Sent: Friday, October 11, 2002 8:42 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
> 
> CDONTS is a component usually installed if the SMTP services 
> are installed on the Server.
> 
> I've no experience with Exchange I'm afraid, but CDONTS 
> should still work. When installing IIS, there is an option to 
> have the SMTP service installed. When that's done, CDONTS has 
> always worked.
> 
> I still prefer to use Jmail - as I have had some fun and 
> games with the Mail queues when using CDONTS.
> 
> CDONTS is just a component, so it won't have any effect on 
> which Mail Server you use.
> 
> 
> 
> -----Original Message-----
> From: Drew, Ron [mailto:RDrew@B...]
> Sent: 11 October 2002 13:31
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
> 
> 
> Thanks for your reply Craig.  I have used CDONTS on my 
> Internet club site but not at my work Intranet site.  Does 
> CDONTS have any affect on the Exchange Server and the users 
> use of MS Outlook?? Bottomline...If I ask the tech services 
> to install it, will anything not work on the current system 
> or active directory?
> 
> -----Original Message-----
> From: Craig Flannigan [mailto:ckf@k...]
> Sent: Friday, October 11, 2002 4:29 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
> 
> 
> ---------------------------------------------------------------------
> PS...I tried CDONTS but get an error on
> 
> Set objCDO = Server.CreateObject("CDONTS.NewMail")"
> ---------------------------------------------------------------------
> 
> Then it's not installed.
> 
> It would be better if you could get this working, or download 
> and install JMail (free from www.dimac.net). Then you're not 
> relying on the users Email Client. Even at work, when most 
> clients are the same some installations may not be 100% right.
> 
> Sorry I've not answered your immeidate problem, but I'd 
> suggest moving to a proper email solution.
> 
> This is the same code once the Component is installed on your server.
> 
> 
> <%
>   set JMail = Server.CreateObject( "JMail.Speedmailer" )
> 
>  ' Send a simple email in a single method call.
>  ' You can add multiple recipients by separating them with a ","
> 
> 	'Format:  From, To, CC, Subject, Body, MailServer to 
> send mail from
>   JMail.SendMail "me@h...", "jane@w..., 
> lisa@w...", "Hi!", "All fine?", "mail.acme.com"
> 
> %>
> <html>
> email sent...
> </html>
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Drew, Ron [mailto:RDrew@B...]
> Sent: 10 October 2002 21:14
> To: ASP Web HowTo
> Subject: [asp_web_howto] Email
> 
> 
> I have been having a problem with my INTRANET site with 
> email.  We use MS Outlook and I execute the following command...
> 
> 
> 
> <FORM name="formmail" METHOD="post" 
> ACTION="mailto:xxxx@y...?subject=Request from Website" 
> enctype="text/plain" onsubmit="return CheckForm()">
> 
> 
> 
> Out of 400 users, some 350 work fine and xxxx above get the 
> message with information in the body.
> 
> The 350 get a message indicating the message is going and 
> they are opening up their email address to others (this is OK)
> 
> However the other 50 just opens a blank email message with 
> xxxx in the TO field and the body is empty.  I thought it was 
> that they set their format to HTML but I read that the 
> enctype= "text/plain" insures the format is correct.
> 
> 
> 
> Anyone have any ideas out there?
> 
> PS...I tried CDONTS but get an error on
> 
> Set objCDO = Server.CreateObject("CDONTS.NewMail")
> 
> 
> 
> 
> ---
> 
> Improve your web design skills with these new books from Glasshaus.
> 
> Usable Web Menus 
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites 
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/th
> eprogramme
> r-20
> Practical JavaScript for the Usable Web 
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/th
> eprogramme
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp 
> or 
> 
> 
> _____________________________________________________________________
> Kingfield Heath Ltd. Email Disclaimer
> 
> Confidentiality : This email and its attachments are intended 
> for the above-named only and may be confidential. If they 
> have come to you in error you must take no action based on 
> them, nor must you copy or show them to anyone; please reply 
> to this email and highlight the error.
> 
> Security Warning : Please note that this email has been 
> created in the knowledge that the internet is not a 100% 
> secure communications medium. We advise that you understand 
> and observe this lack of security when emailing us.
> 
> Viruses : Although we have taken steps to ensure that this 
> email and attachments are free from any virus, we advise 
> that, in keeping with good computing practice, the recipient 
> should ensure they are actually virus free. 
> _____________________________________________________________________
> 
> 
> ---
> 
> Improve your web design skills with these new books from Glasshaus.
> 
> Usable Web Menus 
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites 
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/th
> eprogramme
> r-20
> Practical JavaScript for the Usable Web 
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/th
> eprogramme
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp 
> or 
> 
> 
> ---
> 
> Improve your web design skills with these new books from Glasshaus.
> 
> Usable Web Menus 
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites 
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/th
> eprogramme
> r-20
> Practical JavaScript for the Usable Web 
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/th
> eprogramme
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp 
> or 
> 
> _____________________________________________________________________
> Please contact I.T. Support if you have received this email 
> in error. This e-mail has been scanned for all viruses by 
> Star Internet. 
> _____________________________________________________________________
> 
> 
> _____________________________________________________________________
> Kingfield Heath Ltd. Email Disclaimer
> 
> Confidentiality : This email and its attachments are intended 
> for the above-named only and may be confidential. If they 
> have come to you in error you must take no action based on 
> them, nor must you copy or show them to anyone; please reply 
> to this email and highlight the error.
> 
> Security Warning : Please note that this email has been 
> created in the knowledge that the internet is not a 100% 
> secure communications medium. We advise that you understand 
> and observe this lack of security when emailing us.
> 
> Viruses : Although we have taken steps to ensure that this 
> email and attachments are free from any virus, we advise 
> that, in keeping with good computing practice, the recipient 
> should ensure they are actually virus free. 
> _____________________________________________________________________
> 
> 
> ---
> 
> Improve your web design skills with these new books from Glasshaus.
> 
> Usable Web Menus 
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/th
eprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

Message #11 by "Drew, Ron" <RDrew@B...> on Mon, 14 Oct 2002 20:57:40 -0400
Thanks for everyone's help...I finally got it to work by using...

<FORM name=3D"formmail" METHOD=3D"post"
ACTION=3D"mailto:<%=3DstrTo%>?subject=3D<%=3DstrSubject%>&body=3D<%=3DSer
ver.HTMLEnc
ode(strBody)%>">

embedded with %0D to cause the line breaks in the body of the
message...phew!!!

-----Original Message-----
From: Aaron Fleming [mailto:aaronf@w...]
Sent: Friday, October 11, 2002 9:47 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Email

It won't have any effect on Exchange or your ADS.

Aaron

> -----Original Message-----
> From: Drew, Ron [mailto:RDrew@B...]
> Sent: Friday, October 11, 2002 9:40 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
>
>
> Thanks Craig...I will print and pass this on to the tech
> services group
>
> -----Original Message-----
> From: Craig Flannigan [mailto:ckf@k...]
> Sent: Friday, October 11, 2002 8:42 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
>
> CDONTS is a component usually installed if the SMTP services
> are installed on the Server.
>
> I've no experience with Exchange I'm afraid, but CDONTS
> should still work. When installing IIS, there is an option to
> have the SMTP service installed. When that's done, CDONTS has
> always worked.
>
> I still prefer to use Jmail - as I have had some fun and
> games with the Mail queues when using CDONTS.
>
> CDONTS is just a component, so it won't have any effect on
> which Mail Server you use.
>
>
>
> -----Original Message-----
> From: Drew, Ron [mailto:RDrew@B...]
> Sent: 11 October 2002 13:31
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
>
>
> Thanks for your reply Craig.  I have used CDONTS on my
> Internet club site but not at my work Intranet site.  Does
> CDONTS have any affect on the Exchange Server and the users
> use of MS Outlook?? Bottomline...If I ask the tech services
> to install it, will anything not work on the current system
> or active directory?
>
> -----Original Message-----
> From: Craig Flannigan [mailto:ckf@k...]
> Sent: Friday, October 11, 2002 4:29 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] RE: Email
>
>
> ---------------------------------------------------------------------
> PS...I tried CDONTS but get an error on
>
> Set objCDO =3D Server.CreateObject("CDONTS.NewMail")"
> ---------------------------------------------------------------------
>
> Then it's not installed.
>
> It would be better if you could get this working, or download
> and install JMail (free from www.dimac.net). Then you're not
> relying on the users Email Client. Even at work, when most
> clients are the same some installations may not be 100% right.
>
> Sorry I've not answered your immeidate problem, but I'd
> suggest moving to a proper email solution.
>
> This is the same code once the Component is installed on your server.
>
>
> <%
>   set JMail =3D Server.CreateObject( "JMail.Speedmailer" )
>
>  ' Send a simple email in a single method call.
>  ' You can add multiple recipients by separating them with a ","
>
> 	'Format:  From, To, CC, Subject, Body, MailServer to
> send mail from
>   JMail.SendMail "me@h...", "jane@w...,
> lisa@w...", "Hi!", "All fine?", "mail.acme.com"
>
> %>
> <html>
> email sent...
> </html>
>
>
>
>
>
>
> -----Original Message-----
> From: Drew, Ron [mailto:RDrew@B...]
> Sent: 10 October 2002 21:14
> To: ASP Web HowTo
> Subject: [asp_web_howto] Email
>
>
> I have been having a problem with my INTRANET site with
> email.  We use MS Outlook and I execute the following command...
>
>
>
> <FORM name=3D"formmail" METHOD=3D"post"
> ACTION=3D"mailto:xxxx@y...?subject=3DRequest from Website"
> enctype=3D"text/plain" onsubmit=3D"return CheckForm()">
>
>
>
> Out of 400 users, some 350 work fine and xxxx above get the
> message with information in the body.
>
> The 350 get a message indicating the message is going and
> they are opening up their email address to others (this is OK)
>
> However the other 50 just opens a blank email message with
> xxxx in the TO field and the body is empty.  I thought it was
> that they set their format to HTML but I read that the
> enctype=3D "text/plain" insures the format is correct.
>
>
>
> Anyone have any ideas out there?
>
> PS...I tried CDONTS but get an error on
>
> Set objCDO =3D Server.CreateObject("CDONTS.NewMail")
>
>
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/th
> eprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/th
> eprogramme
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp
> or 
>
>
> _____________________________________________________________________
> Kingfield Heath Ltd. Email Disclaimer
>
> Confidentiality : This email and its attachments are intended
> for the above-named only and may be confidential. If they
> have come to you in error you must take no action based on
> them, nor must you copy or show them to anyone; please reply
> to this email and highlight the error.
>
> Security Warning : Please note that this email has been
> created in the knowledge that the internet is not a 100%
> secure communications medium. We advise that you understand
> and observe this lack of security when emailing us.
>
> Viruses : Although we have taken steps to ensure that this
> email and attachments are free from any virus, we advise
> that, in keeping with good computing practice, the recipient
> should ensure they are actually virus free.
> _____________________________________________________________________
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/th
> eprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/th
> eprogramme
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp
> or 
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/th
> eprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/th
> eprogramme
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp
> or 
>
> _____________________________________________________________________
> Please contact I.T. Support if you have received this email
> in error. This e-mail has been scanned for all viruses by
> Star Internet.
> _____________________________________________________________________
>
>
> _____________________________________________________________________
> Kingfield Heath Ltd. Email Disclaimer
>
> Confidentiality : This email and its attachments are intended
> for the above-named only and may be confidential. If they
> have come to you in error you must take no action based on
> them, nor must you copy or show them to anyone; please reply
> to this email and highlight the error.
>
> Security Warning : Please note that this email has been
> created in the knowledge that the internet is not a 100%
> secure communications medium. We advise that you understand
> and observe this lack of security when emailing us.
>
> Viruses : Although we have taken steps to ensure that this
> email and attachments are free from any virus, we advise
> that, in keeping with good computing practice, the recipient
> should ensure they are actually virus free.
> _____________________________________________________________________
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/th
eprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20

  Return to Index