|
Send an E-mail using CDONTS
| Language: |
PERL |
   
Rated by 3 Users
1 Star = Horrible 5 Stars = Perfect
Rate Code Now
|
| Posted By: |
keith |
| Author Website: |
asp or php |
| Posted On: |
6/21/2007 |
| Code Views: |
1442 |
This code is just a simple way to send an e-mail using the CDONTS component.
|
#!/usr/bin/perl # Never forget your PERL path goes on the top line...
$perlmessage = Server->CreateObject("CDONTS.NewMail"); $perlmessage->{From} = "Your@Email.Com"; $perlmessage->{To} = "Their@Email.com"; $perlmessage->{Subject} = "Subject Here"; $perlmessage->{Body} = "Message Body Here"; $perlmessage->Send
View code in Textarea
This code has not been tested by Your WebCode. Use it at your own risk.
Please report any copyright violations.
|
|