|
Answer
by: Stuart Pierce, Aplus.Net Knowledge
Base Support.
The
CDO Mailer feature available in the Aplus.Net Control Panel provides
you with the ASP code that you will need to add to your webpage to
allow your site visitors to send you emails directly from your site.
Note:
This feature is available for Windows-based hosting plans only.
Here’s
how to access the CDO Mailer feature using the Aplus.Net Control Panel:
- Start
by logging into the Aplus.Net Control Panel at http://cp.aplus.net
using your Registration Number and Customer Password.
- Select
Web Hosting from the top navigation bar.
- Next,
select Hosted Domains and click on Manage
Hosted Domains.
- Now,
select the hosted domain name you'd like to manage.
- Select
the Design tab.
- Finally,
click the CDO Mailer icon.
The
following lines of code are required:
<FORM
ACTION="./mail.asp" METHOD="post">
- this line must be set to the same name as your ASP page (mail.asp in
this example).
objMessage.To
= "you@yourdomain.com"
- enter
your valid email address here.
Response.Write
"Your Message was sent!" - Edit
between the brackets to customize your confirmation message.
The
following fields are optional Form Fields:
- CC
field: this allows you to carbon copy multiple email addresses upon
form submission:
objMessage.Cc
= "address@userdomain.com"
- BC
field: this allows you to blind copy multiple email addresses upon
form submission:
objMessage.Bcc
= "address@userdomain.com"
You can use the two examples provided in the Control Panel for ASP and
ASP.NET 1.1. Please make sure to read the comments in the code and
input any necessary details such as your email address and password.
Note: The correct SMTP server and port number are automatically filled
in.
|