Post Reply  Post Thread 
Asp Email Test Script
Author Message
Nilesh
Super Moderator
******


Posts: 42
Group: Super Moderators
Joined: Jul 2007
Status: Offline
Reputation: 0
Thank 0
0 was given thank in 0 posts
Post: #1
Asp Email Test Script

Asp Email Test Script

Following is the Asp mail test script.

aspemail.asp

Quote:
<%

' First Step is to create the AspEmail message object
Set Mail = Server.CreateObject("Persits.MailSender")

' Set the from address - replace value within the quotes with your own
Mail.From = "test@dnadeath.org"

' Add the e-mail recipient address - again replace value within the quotes with your own
Mail.AddAddress "mail address "

' Set the subject for the e-mail
Mail.Subject = "Test AspEmail script by IH Tech"

' Create the body text for the e-mail
Mail.Body = "Test AspEmail script by IH Tech"

' The mail server requires that we authenticate so supply username and password
Mail.Username = "mail address"
Mail.Password = "mail account password"

' The e-mail is now ready to go, we just need to specify the server and send
Mail.Host = "localhost"
Mail.Send

' Mail is sent - tidy up and delete the AspEmail message object
Set Mail = Nothing

%>


~~~ Cool Buddy ~~~

ADD TO DEL.ICIO.US  ADD TO DIGG  ADD TO FURL  ADD TO NEWSVINE  ADD TO NETSCAPE 
ADD TO TECHNORATI FAVORITES  Technorati ADD TO SQUIDOO  ADD TO WINDOWS LIVE  ADD TO YAHOO MYWEB  ADD TO ASK 
ADD TO REDDIT  ADD TO STUMBLEUPON  ADD TO GOOGLE   

07-16-2007 08:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  CDOSYS Mail Script Nilesh 0 391 07-15-2007 09:42 AM
Last Post: Nilesh

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: