Results 1 to 2 of 2

Thread: CDONTS

  1. #1
    S S Shah Guest

    Default CDONTS

    I have a problem while working with CDONTS<BR><BR>My code is as follow.<BR><BR>The code is working fine if I enter something in the name field of the form.<BR><BR>However if I do not enter anything in the name field than I do not get an email<BR>Please Help.<BR><BR><BR>&#060;%<BR>Set objmail=Server.CreateObject("CDONTS.NewMail")<BR>o bjmail.To=reciever&#039s email address<BR>objmail.From=senders email address<BR>objmail.Subject=Subject<BR>message="Nam e " & request.form("Name") & Chr(13) & <BR>"Email " & request.form("Email") & Chr(13)<BR>message=message & "Address " & request.form("Address") <BR><BR>objmail.body=message<BR>objmail.send<BR>%& #062;

  2. #2
    Sometimes helpful Guest

    Default RE: CDONTS

    I have had a similar problem in the past and it was to do with the SMTP server not allowing anonymous emails to be sent.<BR>I explained this to techy guy and he sorted it.<BR>Could be worth checking.

Posting Permissions

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