ASPEmail by Persists | ASP Hosting wpsuperamdin 8:02 am

ASPEmail by Persists - ASP Hosting

As a .NET Core user you have chosen one of the finest development platforms available today. Should you not also choose the right high performance .NET core hosting provider as well? We at HostBreak have crafted the most advanced turbocharged platform for your applications and all of your projects! Give us a try and you will know the difference.

A personal favourite, easy to use and deploy and very similar in syntax to Jmail. Supports encryption using APSEncrypt, mail queuing for fast response (no need for your ASP page to finish talking to the SMTP server) as well as have having many powerful features.

AspEmail is an active server component for sending email messages using an external SMTP server in an ASP or VB environment. AspEmail supports multiple recipients, multiple CC, multiple Bcc, multiple file attachments, HTML format, embedded images, and non-US ASCII character sets.

** Note from Tech Support: You MUST set the Mail.Host and Mail.From to domains we host. Your mail host is the IP address of your web server for domain hosted on our server. The from address must be from a VALID email account from your domain name, also.**

<html>
<head><title>ASPEmail
Example</title></head>
<body>
<blockquote>
<h2 align=center>ASPEmail
Example</h2><%
Set Mail = Server.CreateObject(“Persits.MailSender”)
Mail.Host = “Put IP
address of your WEB server
here”
Mail.From = “sales@yourdomain.com” Mail.FromName = “Sales Department”Mail.AddAddress “jsmith@company1.com”,
“John Smith”Mail.AddAttachment “e:\html\domains\yourdomaincom\html\filename.htm”Mail.Subject = “Sales
Receipt”
Mail.Body = “Dear John:”
& chr(13) & chr(10)
& _
“Thank you for your
business.”On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write “An
error occurred: ” &
Err.Description
End If
%>
</blockquote>
</body>
</html>

To add the message recipients, CCs, BCCs, and Reply-To’s, use the AddAddress, AddCC, AddBcc and AddReplyTo methods, respectively. These methods accept two parameters: the email address and, optionally, name. Notice that you must not use an ‘= ‘sign to pass values to the methods. For example:

Mail.AddAddress “jsmith@company1.com”, “John Smith”
Mail.AddCC “bjohnson@company2.com” ‘ Name is optional

Use the Subject and Body properties to specify the message subject and body text, respectively. A body can be in a text or HTML format. In the latter case, you must also set the IsHTML property to True. For example:

Mail.AddAddress “jsmith@company1.com”, “John Smith”
Mail.AddCC “bjohnson@company2.com” ‘ Name is optional

or

Mail.Subject
= “Sales Receipt”
Mail.Body=”<HTML><BODY
BGCOLOR=#0000FF>DearJohn:….</BODY></HTML>”
Mail.IsHTML = True

To send a file attachment with the message, use the AddAttachment method. It accepts the full path to the file being attached. Call this method as many times as you have attachments. Notice that you must not use the ‘= ‘sign to pass a value to the method:

** Note from Tech Support: the path below is correct for you. Make sure that you put your attachment in this directory first. Don’t forget that “yourdomaincom” may be “yourdomainnet”, etc., as applicable. **

Mail.AddAttachment “e:\html\domains\yourdomaincom\html\filename.htm”

In order to reference information from fields on a form you will need to use the following format:

“First Name: ” & Request.form(“FirstName”) & chr(13) & chr(10) & _
“Last Name: ” & Request.form(“LastName”) & chr(13) & chr(10) & _
“Email: ” & Request.form(“Email”) & chr(13) & chr(10) & _

To send a message, call the Send method. The method throws exceptions in case of an error. You may choose to handle them by using the On Error Resume Next statement, as follows:

On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write “An error occurred: ” &
Err.Description
End If

More: For more technical information please see: http://www.aspemail.com

JMail is perhaps one of the best known components for sending mail from an ASP page to an SMTP server.

learn more about Jmail hosting

AspEncrypt 2.1 is an Active Server component that brings security to your application through encryption. With AspEncrypt, you can encrypt data, send S/MIME-based secure mail, compute one-way hash values, generate and verify digital signatures, issue and manage X.509 digital certificates, and more. This component can be used in an IIS/ASP or VB environment.

learn more about ASPEncrypt hosting

AspGrid 3.1 is an active server component which brings your ASP application the power of a data-bound grid control. With AspGrid, you can build browser-independent editable grid interfaces to your databases in as little as 3 lines of ASP code.

learn more about ASPGrid hosting

AspUpload is an Active Server component which enables an ASP application to accept, save and manipulate files uploaded with a browser. The files are uploaded via an HTML POST form with one or more <INPUT TYPE=FILE> tags. The <FORM> tag must contain the attribute ENCTYPE=”multipart/form-data”..

learn more about ASPUpload hosting

If you need to resize images on the fly, consider AspJpeg. This easy-to-use component enables you to create high-quality image thumbnails in just a few lines of code.

learn more about ASPJpeg hosting

ImageSize will determine the image height and width on most BMP, PNG, GIF and JPG files.

learn more about ImageSize hosting

Get a file’s last modified date/time from ASP

learn more about LastMod hosting

SAFileUp allows File Upload from any browser to Microsoft’s Internet Information Server. Fully scriptable via Active Server Pages. Compliant with RFC 1867.

FileUp allows users with a Web browser to transmit files from their local hard disk to a server running Microsoft Internet Information Server (IIS), or to a separate file server which is networked to the Web server.

learn more about SAFileUp hosting

Looking for more power?

Try VPS hosting and create your own dedicated server to securely run the application with peak performance.

We Guarantee

Web Hosting for Superior Experience

Instant Account Activation

All orders are processed instantly.

FREE Website Migration

Stuck with a bad host? We will rescue you free of cost.

Moneyback Guarantee

30-day money back guarantee!

99.99% Uptime Guarantee

Highest uptime or we refund you the money.