try this:

--- <%@LANGUAGE="VBSCRIPT"%>
--- <%
--- Dim usxCDO
--- Set usxCDO = Server.CreateObject("CDONTS.NewMail")
--- usxCDO.From = "[EMAIL PROTECTED]"
--- usxCDO.To = "[EMAIL PROTECTED],[EMAIL PROTECTED]"
--- usxCDO.Subject = "Subject line message"
--- usxCDO.Body = Chr(13) & Chr(10) &_
--- "name: " & cStr(Request("name")) & Chr(13) & Chr(10) &_
--- "address: " & cStr(Request("address")) & Chr(13) & Chr(10) &_
--- "address2: " & cStr(Request("address2")) & Chr(13) & Chr(10) &_
--- "city: " & cStr(Request("city")) & Chr(13) & Chr(10) &_
--- "state: " & cStr(Request("state")) & Chr(13) & Chr(10) &_
--- "zipcode: " & cStr(Request("zipcode")) & Chr(13) & Chr(10) &_
--- "phone: " & cStr(Request("phone")) & Chr(13) & Chr(10) &_
--- "email: " & cStr(Request("email")) & Chr(13) & Chr(10) &_
--- "description: " & cStr(Request("description"))
--- If (cStr(Request("Submit")) <> "") Then
--- usxCDO.Send
--- Set usxCDO = Nothing 
--- Response.Redirect "contact_done.asp"
--- End If
--- %>

Now, of'course the body is taken from a form that the user fills out, but I am sure 
you can adapt
to work on you SMTP Server as well (I am running IIS 5.0)

Scott


lisa <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> I am generating some emails for my website using the code below:
> 
> Dim myMail 
> Set myMail = CreateObject("CDONTS.NewMail") myMail.Send
> "[EMAIL PROTECTED]","[EMAIL PROTECTED]","SQL Database error"
> Set myMail = Nothing 
> 
> Dim myMail 
> Set myMail = CreateObject("CDONTS.NewMail") myMail.Send
> "[EMAIL PROTECTED]","[EMAIL PROTECTED]","SQL Database error"
> Set myMail = Nothing 
> 
> the hotmail account (or any "external" email account) gets through.  But any
> "internal account" ([EMAIL PROTECTED]) does not.  What am I missing?
> There's gotta be a setting that I missed in the smtp/IIS set up ...?
> 
> any help that you can give me earns a virtual pizza!
> thanks -lisa
> 
> 
> ____ � The WDVL Discussion List from WDVL.COM � ____
> To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com 
>        Send Your Posts To: [EMAIL PROTECTED]
> To change subscription settings to the wdvltalk digest version:
>     http://wdvl.internet.com/WDVL/Forum/#sub
> 
> ________________  http://www.wdvl.com  _______________________
> 
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to %%email.unsub%%


__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to