AspMail Error. Please help!

Results 1 to 3 of 3

Thread: AspMail Error. Please help!

  1. #1
    Peng Guest

    Default AspMail Error. Please help!

    the follow code give the error: Mail send failure. Error was 503 must have sender and recipient first. Can anyone tell me what the problem is? What should I put in the RemoteHost? My IP address or something else?<BR><BR>Thanks<BR><BR>***Code start here:<BR> Set Mailer = Server.CreateObject("SMTPsvg.Mailer")<BR> Mailer.FromName = "Joe’s Widgets Corp."<BR> Mailer.FromAddress= ""<BR> Mailer.RemoteHost = ""<BR> Mailer.AddRecipient "John Smith", ""<BR> Mailer.Subject = "Great SMTP Product!"<BR> Mailer.BodyText = "Dear Stephen"<BR> if Mailer.SendMail then <BR> Response.Write "Mail sent..."<BR> else <BR> Response.Write "Mail send failure. Error was " & Mailer.Response<BR> end if

  2. #2
    Nancy J. Anderson Guest

    Default RE: AspMail Error. Please help!

    Did you ever get a solution for this problem? I transfered my pages from my local machine to the company development enviroment and am getting a similiar message: The address of sender is required. <BR><BR>Thanks,<BR>nancy

  3. #3
    Omur Guest

    Default RE: AspMail Error. Please help!

    ý guess<BR>Mailer.BodyText = "Dear Stephen"<BR>not<BR>Mailer.BodyText "Dear Stephen"<BR><BR>try this...

Posting Permissions

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