E-mail does not work properly?
View related threads: (in this forum | in all forums)
E-mail does not work properly?
| Users viewing this topic: none |
Printable Version
| Login |
| |
|---|---|---|
| Message | << Older Topic Newer Topic >> |
|
||
|
Samuel Posts: 8049 Joined: 2001-05-23 From: Vancouver, Canada Status: offline |
Q1: Everything is working except e-mail. I select [an e-mail component] in the admin panel, but I still cannot get any mail from my forum.
A1: This is rarely a problem if your forum is on a shared host. If you are hosting the forum at home or on your private network, please check the following and make sure everything is ready:
Here is a list of e-mail related FAQs . Most of the time the problem is with your mail server configuration. ** .NET version debugger We put together a error logging feature in the tutorial forum (must be a license holder to access the message). Use the error logger to show what's wrong with your email setting. Q2: Why does my CDONTS / CDOSYS mail hang out in the queue or pickup folders? A2: Here are some suggestions for resolving this issue:
Q3: Why do CDONTS messages end up in the badmail folder? A3: If you are getting .bdr files in the badmail folder, this means the mail could not be sent for some reason. You might see an error like this, if you open up one of the .bdr files: quote:
Q4: Emails go out without any problem to the majority of users, but AOL users can't get any email from the server? A4: If the email problem only happens to users from a very limited number of domains, this indicates two things:
Q5: A small portion of my members can't get subscription notifications, while others can. A5: It comes down to one of the following reasons:
< Message edited by Samuel -- 2006-02-13 14:54:08 > _____________________________ Samuel Chou Forum Administrator ASPPlayground.NET's Developer |
|
| E-mail does not work properly? - 2003-01-16 21:22:39 |
Posts: 8049
Joined: 2001-05-23
From: Vancouver, Canada
Status: offline
Q1: Everything is working except e-mail. I select [an e-mail component] in the admin panel, but I still cannot get any mail from my forum.
A1: This is rarely a problem if your forum is on a shared host. If you are hosting the forum at home or on your private network, please check the following and make sure everything is ready:
Here is a list of e-mail related FAQs . Most of the time the problem is with your mail server configuration.
** .NET version debugger
We put together a error logging feature in the tutorial forum (must be a license holder to access the message). Use the error logger to show what's wrong with your email setting.
Q2: Why does my CDONTS / CDOSYS mail hang out in the queue or pickup folders?
A2: Here are some suggestions for resolving this issue:
Q3: Why do CDONTS messages end up in the badmail folder?
A3: If you are getting .bdr files in the badmail folder, this means the mail could not be sent for some reason. You might see an error like this, if you open up one of the .bdr files:
Q4: Emails go out without any problem to the majority of users, but AOL users can't get any email from the server?
A4: If the email problem only happens to users from a very limited number of domains, this indicates two things:
Q5: A small portion of my members can't get subscription notifications, while others can.
A5: It comes down to one of the following reasons:
A1: This is rarely a problem if your forum is on a shared host. If you are hosting the forum at home or on your private network, please check the following and make sure everything is ready:
- If you select CDONTS in the admin panel, make sure you have the SMTP service running.
- If you are using CDONTS, make sure the pickup directory has the correct permission set for "guest" (you need write access at least). Otherwise you will see this error message: Permission denied . The following message is quoted from:
quote:
Getting a Permission Denied Error?
Depending on the security settings on the Web server you may receive a permission denied error when executing the Send method. If this is the case check to make sure that the IUSR_MachineName has Full Control Modify permissions on the mail root Pickup directories (usually C:\InetPub\mailroot\Pickup). (For example, if your Web server' s name is Bob, ensure that IUSR_Bob has these permissions.)
Make sure the internet guest account that you grant permission to is the internet guest account of your local machine, not the one from your active directory. Brian encountered the problem and figured it out:
quote:
Just figured out the problem here. The issue was that I was putting in the IUSR and IWAM accounts for the Active Directory domain rather than for the local machine. My local machine is a member server of the domain.
- Exchange Server 2000 sp3 w/ CDONTS or CDOSYS problem:
Use Workaround 2 in the document.
- Mail relay rejected when you use CDOSYS:
SMTP Mail Relay May Stop Working When Using IIS/MCIS SMTP Service and Non-RFC EHLO/HELO Command Format
- If you select other components from the list, make sure you install them properly. Otherwise you will see this error: Server.CreateObject Failed .
- If you are using IIS 6 (Windows 2003), CDONTS is not available to you, and you will get the Server.CreateObject Failed error. Use CDOSYS instead.
- If you select CDOSYS using pickup directory, make sure you enter your pickup directory in the "mail server IP or pickup directory" textbox. It is located under the mail component selection. By default, pickup directory is C:\Inetpub\mailroot\Pickup . You will also have to make sure that the Internet Guest account (IUSR_MachineName) has modify rights to the pickup directory. That means the IUSR account must be able to write files to and delete files from the pickup directory.
- Does your e-mail server support SMTP relay? Is the connection between your www server and e-mail server blocked by firewall? Are you sure your mail server setting allows ASP program to send SMTP request?
- If you are using a shared host, go to the host's FAQ section and see what the requirements are for sending e-mail with ASP / ASP.NET. See what components they support as well as note down their SMTP server address.
- ASPMail
- ASPQMail (message queuing)
- JMail (version 3 & 4)
- ASPEMail
- CDOSYS (both pickup directory & external SMTP)
- CDONTS
- SoftArtisans SMTPMail
Here is a list of e-mail related FAQs . Most of the time the problem is with your mail server configuration.
** .NET version debugger
We put together a error logging feature in the tutorial forum (must be a license holder to access the message). Use the error logger to show what's wrong with your email setting.
Q2: Why does my CDONTS / CDOSYS mail hang out in the queue or pickup folders?
A2: Here are some suggestions for resolving this issue:
- if your mail is not leaving the queue folder, check out
- if your mail is not leaving the pickup folder, and you are getting smtpsvc Event ID: 535 ("Virtual Server :The drop directory , for * could not be created.") in your event log, see
- make sure SMTP Virtual Server is running in Internet Services Manager
- check the event log for SMTP Service events
- turn on logging for your SMTP server, to see if the mail is even being attempted to be sent to the server
- make sure your smarthost and FQDN are configured correctly
- make sure your smarthost allows you to relay unconditionally (some require authentication)
- make sure your server can resolve the ip of your smarthost name - try using the IP of your smarthost to see if this is the issue
- restart the SMTP Service (or IIS altogether), and if that fails reboot the server, to see if this clears up the backlog
- make sure you are sending from / to a valid address / domain
- check any .rtr files in the queue folder - these can be caused by various mistakes in code or config
- check the server itself by setting up outlook express on the machine, using the same settings, and attempting to send mail
- if the machine is behind a firewall/router, make sure it has access to port 53
Q3: Why do CDONTS messages end up in the badmail folder?
A3: If you are getting .bdr files in the badmail folder, this means the mail could not be sent for some reason. You might see an error like this, if you open up one of the .bdr files:
quote:
Unable to deliver this message because the following error was encountered:
This message is a delivery status notification that cannot be delivered.
Specific error code was 0xC00402C7
- The most common cause is that you've either omitted the address in the From or To properties, or included an invalid e-mail address (see KB #- fixed in Windows 2000 Service Pack 2)
- Or, you've reinstalled the IIS SMTP service (see KB #), or your SMTP service isn't properly configured (see KB#)
- Or, you are using Smart Host and a DNS server that does not support TCP queries (see KB #)
- Or, you are attempting to run Microsoft Commercial Internet System on Windows 2000 (see KB #)
Q4: Emails go out without any problem to the majority of users, but AOL users can't get any email from the server?
A4: If the email problem only happens to users from a very limited number of domains, this indicates two things:
- The forum software works
- The DNS server responsible for managing Reverse DNS record for your machine is not configured properly
Q5: A small portion of my members can't get subscription notifications, while others can.
A5: It comes down to one of the following reasons:
- Their SPAM filters on their email servers are actively blocking mails from you
- Their SPAM filters on their email clients are actively blocking mails from you
- Their mail servers check for SPF record / reverse DNS entry (e.g. AOL users) which your mail server doesn't have (See Q4 above)
- Your mail server blocks emails sent to certain domain
- You are sending out subscription notification via BCC, not TO -> the setting is in the Basic Configuration section in the admin control panel. Change the setting to "TO" may solve the problem.
< Message edited by Samuel -- 2006-02-13 14:54:08 >
_____________________________
Samuel Chou
Forum Administrator
ASPPlayground.NET's Developer
quote:
Getting a Permission Denied Error?
Depending on the security settings on the Web server you may receive a permission denied error when executing the Send method. If this is the case check to make sure that the IUSR_MachineName has Full Control Modify permissions on the mail root Pickup directories (usually C:\InetPub\mailroot\Pickup). (For example, if your Web server' s name is Bob, ensure that IUSR_Bob has these permissions.)
Make sure the internet guest account that you grant permission to is the internet guest account of your local machine, not the one from your active directory. Brian encountered the problem and figured it out:
quote:
Just figured out the problem here. The issue was that I was putting in the IUSR and IWAM accounts for the Active Directory domain rather than for the local machine. My local machine is a member server of the domain.
quote:
Getting a Permission Denied Error?
Depending on the security settings on the Web server you may receive a permission denied error when executing the Send method. If this is the case check to make sure that the IUSR_MachineName has Full Control Modify permissions on the mail root Pickup directories (usually C:\InetPub\mailroot\Pickup). (For example, if your Web server' s name is Bob, ensure that IUSR_Bob has these permissions.)
quote:
Just figured out the problem here. The issue was that I was putting in the IUSR and IWAM accounts for the Active Directory domain rather than for the local machine. My local machine is a member server of the domain.
Use Workaround 2 in the document.
SMTP Mail Relay May Stop Working When Using IIS/MCIS SMTP Service and Non-RFC EHLO/HELO Command Format
quote:
Unable to deliver this message because the following error was encountered:
This message is a delivery status notification that cannot be delivered.
Specific error code was 0xC00402C7
| Page: [1] |
|---|
| New Messages | No New Messages |
| Hot Topic w/ New Messages | Hot Topic w/o New Messages |
| Locked w/ New Messages | Locked w/o New Messages |
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
Looking for more help? Browse the support forum or check the Knowledge Base.