about email sending question.

Results 1 to 2 of 2

Thread: about email sending question.

  1. #1
    Join Date
    Dec 1969

    Default about email sending question.

    why the following code doesn&#039;t work?<BR>&#060;%@ language="VBScript" %&#062;<BR>&#060;%<BR> <BR> dim mail11<BR> Set mail11 = Server.CreateObject("CDONTS.NewMail")<BR> mail11.TO = "aaa@yahoo.com"<BR> mail11.From = "bbb@hotmail.com"<BR> mail11.Subject = "subject"<BR> mail11.Body = "E-Mail body"<BR> mail11.Send<BR> set mail11=nothing<BR> response.write "send"<BR><BR><BR>%&#062;<BR><BR>IIS and SMTP service is ok and when executing the above code ,it doesn&#039;t pop any error message,that means createobject is correctly,but why it doesn&#039;t send anymail to aaa@yahoo.com£¿<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: about email sending question.

    Try this question in the ASP message board, its way different in .NET

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts