Send mail

Tutorials and code examples using ASP and ASP.Net
5 posts Page 1 of 1
Contributors
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

Send mail
Lewis
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Test mail"
myMail.From="lewis@froom.me"
myMail.To="lewis@froom.me"
myMail.HTMLBody = "<h1>This is a message.</h1><h2>Hi</h2>"
myMail.Send
set myMail=nothing
%>

Well thats how to do it xD
Image
User avatar
Livengood
Serious Programmer
Serious Programmer
Posts: 444
Joined: Tue Feb 16, 2010 6:24 am

Re: Send mail
Livengood
Very Nice Tutorial :)
Image
User avatar
Brown
New Member
New Member
Posts: 21
Joined: Thu Jun 10, 2010 3:05 am

Re: Send mail
Brown
I agree with Livengood!
Image
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1891
Joined: Wed Dec 16, 2009 9:56 pm

Re: Send mail
zachman61
don't understand asp but thanks
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
Alex
Member
Member
Posts: 40
Joined: Mon Feb 01, 2010 8:17 pm

Re: Send mail
Alex
How do you set SMPT/POP3 servers to send through?
This looks a lot like Ruby.
<?php

$wants_to_make_guide_today = true;
if($wants_to_make_guide_today == true){
make_guide();
}else{
sleep();
}
?>
5 posts Page 1 of 1
Return to “Tutorials”