Sending mail to external source.



  • 1. IIS 5 Delete Website Logs After 90 Days
    We have enabled logging for all our websites. I would like to automatically delete log files after 90 days. Is there a way to do this in IIS? Or can a create a batch file to do this (if so, how)? Apologies if I haven't provided enough information, tell me what you would need to know in order to provide helpful feedback (I'm new at this). Thanks in advance for any help you all can provide!
  • 2. IIS server spontaneously rebooting
    Greetings, I have a Windows 2000 (SP4) web server that has developed a disturbing habit lately. It is rebooting itself seemingly at random. There are no server events listed prior to a reboot. When it first start doing this I set the Startup and Recovery options to NOT automaticly reboot, but it is anyways. Any idea on what I could check to fix this? Thanks in advance, Patrick
  • 3. IIS 6 Network Service Account vs. IIS 5 IWAM_<MachineName>
    I have recently moved our company's intranet website from a Windows 2000 server to a Windows 2003 server. Previously, we had setup the permissions so that the IWAM_<MachineName> account could access files in a share on another server. Now that I have moved to W2K3, I am not sure what I need to do to establish the same functionality as the IWAM_ account does not exist. Can anyone provide me with some good information on this topic or point me to some good resources? Thanks, Tyler

Sending mail to external source.

Postby Gary Whittle » Thu, 01 Jul 2004 08:59:02 GMT


I am running Windows Server 2003 edition, hosting with One and One internet. 
I am having a strange problem with mail.  One and one "split" any domains 
you buy into two sections if you will, the web services are provided by the 
Windows Server, and the Email services are provided externally by One and 

Now, when I set up a domain name on IIS, for example: , and I 
then try to send MAIL from the server to  XXXX@XXXXX.COM , the mail 
bounces as it is simply looking locally for an account.

I dont want to use an SMTP server to send the mail, as my site uses CDO 
extensively and sends out 2000 emails per day.

Any ideas what I can do here?

Kindest Regards,

Gary Whittle. 

Re: Sending mail to external source.

Postby Gary Whittle » Thu, 01 Jul 2004 09:13:04 GMT

Hi again,

I think I *may* have solved it.
In IIS, I browsed to SMTP server, I then added the domain as a REMOTE domain 
and checked the "Allow incoming mail to be relayed to this domain".  Seems 
like it may be working now!
What a pain, 1and1 refuse to give any tech support for Windows Server 
Software Issues...


Re: Sending mail to external source.

Postby Gary Whittle » Thu, 01 Jul 2004 09:14:33 GMT

Sorry, just checked and it didnt work :(

I give up! lol :)


Re: Sending mail to external source.

Postby jeff.nospam » Fri, 02 Jul 2004 00:35:51 GMT

On Tue, 29 Jun 2004 23:59:02 GMT, "Gary Whittle"

1)  You have to use an SMTP server to send mail, you just don't have
to use a local one.

2)  You say the mail "bounces" but there's no way we can help you with
this description.  Give an error message and a log entry.

3)  Have you designated the remote SMTP server in CDO?

4)  Have you worked with your web host in accomplishing this?  After
all, they're the ones controlling your system and it's requirements.


Similar Threads:

1.Internal mails never send - external does

Using CDO on my web server (IIS 6.0), I send mails through the SMTP service. 
When sending mails to any external email address, the mails are send and 
received correct.
But when sending mails to internal email addresses (on same domain), the 
mails are never received. 
The mails seems to be send - no error - no mails in BadMail folder. 
Instead an Undeliverable mail is send to the sender, either saying "The 
format of the e-mail address is incorrect" or "You do not have permission to 
send to this recipient"

Any help appriciated. 
(I am web developer, not Exchange expert)


2.SMTP send mail to external exchange server

I have a location with IIS7 installed. Multiple applications need to use SMTP
server sending emails.
How can I set up my IIS7 to connect to an external (other location) exchange
I have no idea how to deal with this issue.
I really appreciate any help.

Thank You

3.failed when Sending to External MAil on IIS6.0 win2003 server

i just migrate from Win 2000 to win 2003 server. i have few web application 
which allows sending email to external recipient likes hotmail, and yahoo.the 
same email send to both internal mail as well as external mail recipients. 
the Internal recipient can receive the email while the external mail 
recipient is unable to receive. while when the internal recipient forwarded 
the same email to the external  mail recipient, the external mail recipient 
is able to receive the email .

the mail have to pass through mailMarshal before sending out. the email to 
be send out to external email is pending on the MailMarshal. the MailMarshal 
return the following error message: 

Your message
Subject: "TEST"
could not be delivered to some or all of the intended recipients.

User< XXXX@XXXXX.COM > - (554 5.5.2 Invalid data in message)

Additional Information
Original Sender:    <>
Sender-MTA:         <>
Remote-MTA:         <>
Reporting-MTA:      <>
MessageName:        <B0003d74fa.00000001.mml>
Last-Attempt-Date:  <10:50:02 Fri, 27 May 2005>

   any ideas on it??? help!!! any solution???

4.How to configure Exchange 2000 send mail to External

I have a Exchange 2000 server with default domain 
( I can send and recive mail from/to users in 
domain, I can't send mail to or any 
other domain. I want to send mail to others domain.

Please help me!

Thanks very much..


5.Problem with sending mails to external domains


We have a Windows 2000 Advanced Server with Service Pack 
3 and IIS 5. We have hosted an application which sends 
mail through IIS's SMTP service. Now, whenever I try 
sending mail to an external domain through the 
application, the mail stays in the Queue folder and does 
not get sent. The Event Log gives me this:


Event Type: Warning
Event Source: smtpsvc
Event Category: None
Event ID: 4000
Date: 8/24/2004
Time: 3:45:15 PM
User: N/A
Computer: XSERVER
Message delivery to the remote domain '' failed 
for the following reason: An SMTP protocol error occurred.

0000: d7 02 04 c0 .


I searched using the Event ID and source and got a few 
results that told me that forwarders were not enabled in 
DNS. I enabled forwarders and mentioned my ISP's DNS 
server IPs. I restarted the DNS service and the SMTP 
service. The mails still don't go.

I tried googling for the following string: "An SMTP 
protocol error occured" and all the results on the web 
said that it could be because of Exchange Server. We do 
not use Exchange Server. What could be the problem? What 
could be the solution???

Please help!

6. sending to external e-mails

7. sending mail to external address

8. AOL mail blocking mail sent via CDO

Return to IIS


Who is online

Users browsing this forum: No registered users and 96 guest