post your comment   print   send to a friend
Rate:  62% | Views: 1881
Question categories:  NT Plans

How do I use the CDO mail component using the Aplus.Net Control Panel?

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:

  1. Start by logging into the Aplus.Net Control Panel at http://cp.aplus.net using your Registration Number and Customer Password.
  2. Select Web Hosting from the top navigation bar.
  3. Next, select Hosted Domains and click on Manage Hosted Domains.
  4. Now, select the hosted domain name you'd like to manage.
  5. Select the Design tab.
  6. 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.


Customer Feedback
Rate:  62% | Views: 1881 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Server Hosting | Domain Registration    Back to serch results
Browse the Base
Knowledge Base
Shared Hosting
  NT Plans
Messages
 

Blogging at Aplus.Net

Don't forget to check out our blog ! Keep up to date at Aplus.Net.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. How can I connect to a Microsoft Access database using ASP?
 
2. How do I access the SQL Server that comes with my Windows hosting plan?
 
3. Some of the asp pages in my site use ASPEmail or CDONTS mail components but they don't work.
 
4. How do I enable SQL on my Windows plan using Aplus.Net web Control Panel?
 
5. What do i need to do to get an ASP.NET project to work?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest