|
-
Oct 11th, 2002, 03:29 PM
#1
Thread Starter
PowerPoster
Mail
In PHP, there is the Mail function which lets you send a mail through a script. Is it possible to do the same type of thing with ASP, or will it take a lot of self-written code?
-
Oct 11th, 2002, 03:46 PM
#2
Frenzied Member
You have to write some code, but not a lot.
Check this site 4GuysFromRolla.com
-
Oct 11th, 2002, 05:34 PM
#3
<?="Moderator"?>
Code:
Dim myMail
Set myMail = Server.CreateObject ("CDONTS.NewMail")
myMail.From = "Me"
myMail.To = "[email protected]"
myMail.Subject = "dunno?"
myMail.Body = "Hello"
myMail.Send
try this. make sure the SMTP server is set up if your running it localy though.
-
Oct 12th, 2002, 03:52 AM
#4
Fanatic Member
You must have an e-mail component installed though, e.g in the example John gave you, you must have CDONTS installed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|