You do this by adding "127.0.0.1"<tab>"255.255.255.255" to smtprelay.tab
Bill ps. you might also have to add the servers own IP address to smtprelay.tab with the same IP mask as above >---------- >From: Michael Schwarz[SMTP:[EMAIL PROTECTED] >Sent: Sunday, March 23, 2003 11:41 PM >To: [EMAIL PROTECTED] >Subject: [xmail] Re: CDONTS and Xmail > > >Hi Wim > >have you enabled local delivery in smtprelay.tab in Xmail? > >Bye >Michael > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Wim Verveen >> Sent: Monday, March 24, 2003 8:25 AM >> To: '[EMAIL PROTECTED]' >> Subject: [xmail] Re: CDONTS and Xmail >> >> >> >> To make a long story short, I just use CDONTS to send >> directly to an SMTP >> host. Always works. >> >> Function STDSendMessage (Mailfrom,Mailto,Mailsubject,Mailbody) >> >> Dim iMsg,iConf,Flds >> >> oLog.write loginfo, "Starting to send message" >> oLog.write loginfo, "Mailto : " & Mailto >> oLog.write loginfo, "Subject: " & Mailsubject >> >> Set iMsg = CreateObject("CDO.Message") >> Set iConf = CreateObject("CDO.Configuration") >> Set Flds = iConf.Fields >> >> With Flds >> ' Its good practice to use the module constants defined in the >> ' type library for the names. The full names are used here to >> ' indicate that this is what is going on >> >> .Item("http://schemas.microsoft.com/cdo/configuration/smtpserv >> er")= "host" >> >> .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 >> .Update >> End With >> >> Set iMsg.Configuration = iConf >> >> 'Create your textbody here >> >> >> With iMsg >> .To = mailto >> .From = mailfrom >> .Subject = mailsubject >> .TextBody = Mailbody >> .Fields.Update >> .Send >> End With >> if Err.number <> 0 then >> oLog.write LogError, "Sending message failed" >> oLog.write Logerror, Err.number & ":" & Err.description >> STDSendmessage = 1 >> else >> oLog.write Loginfo, "Message Send" >> STDSendmessage = 0 >> end if >> >> >> Set iMsg = Nothing >> >> end function >> >> > -----Oorspronkelijk bericht----- >> > Van: Serbulent Sertoglu [mailto:[EMAIL PROTECTED] >> > Verzonden: zondag 23 maart 2003 2:49 >> > Aan: [EMAIL PROTECTED] >> > Onderwerp: [xmail] CDONTS and Xmail >> > >> > >> > Hi, >> > I have a problem about sending mails with CDONTS (from ASP >> scripts) to >> > domains on Xmail located on the same host. To clarify, I >> have IIS and >> > Xmail on the same server and altough the mails asp scripts send to >> > remote domains are successfull, mails sent to domains on Xmail are >> > dropped to badmail directory of CDONTS. Is there anything I have to >> > consider related to xmail or is this all with IIS virtual SMTP? Any >> > ideas? >> > Thanks.. >> > >> > >> > - >> > To unsubscribe from this list: send the line "unsubscribe xmail" in >> > the body of a message to [EMAIL PROTECTED] >> > For general help: send the line "help" in the body of a message to >> > [EMAIL PROTECTED] >> > >> - >> To unsubscribe from this list: send the line "unsubscribe xmail" in >> the body of a message to [EMAIL PROTECTED] >> For general help: send the line "help" in the body of a message to >> [EMAIL PROTECTED] >> >> > > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
