Prev Thread Prev Thread   Next Thread Next Thread
 E-mail does not work properly?
Author Message
Samuel

  • Total Posts : 8812
  • Reward points : 15960
  • Joined: 05/23/2001
  • Status: offline
E-mail does not work properly? - 01/16/2003 09:22:39 PM
This article has 7 parts:
  1. I enabled email in the admin control panel, but I still don't get any mail from my forum.
  2. Digest subscription failed to send out. Everything else works.
  3. PM subscription failed to send out. Everything else works.
  4. Why does my mail hang out in the queue or pickup folders
  5. Why do messages end up in the badmail folder?
  6. Emails go out without any problem to the majority of users, but AOL users can't get any email from the server?
  7. A small portion of my members can't get subscription notifications, while others can.



Q: I enabled email in the admin control panel, but I still don't get any mail from my forum.

A: The first thing to do is enable email logging in web.config if you haven't done so (see the readme file that comes with the software for more info). Once it is enabled, email activities are logged in

~/upfiles/logs/MailLog.maillog

It is just a text file, with the following info (one email activity per line):

Date In Universal Format|Mail Activity Name Sent To: recipient email address|subject:The subject of the mail|mailCC:if applicable|mailBCC:if applicable|SenderE:sender's email|isAsync:True/False|Success:True/False|Simulated:True/False

The format is pretty self-explanatory. The things you want to look for are:
  1. !!! Whether you see the email activities you are looking for (having trouble with) logged. Look at the Mail Activity Name section to find it.
    1. If not, see if there is anything in the admin CP's Error Log section. Make sure you import any un-imported errors first.
      1. If there are just too many errors in the log, first delete all logs, and then try the task that generates the mail again. Immediately after this, check the error log.
  2. What value the Simulated section records; This section exists because in our software we can simulate mail activity (if selected in the admin control panel under Side Wide Option - the Email drop down list)
    1. if true, it means the software did not encounter error prior to the actual send command (no error while preparing the email). The software did not send the mail however. So if this section records true, the Success section should record false (see below).
    2. if false, the software actually sent the mail. See below for further info.
  3. What value the Success section records
    1. if true, it means the mail was sent successfully. This indicates problems beyond our software (your mail server could be accepting but not relaying emails; recipients blocking your email, etc.)
    2. if false, it means the mail was not sent. Look for related error in the admin CP's Error Log section

Tip:
when you look for an email issue in the log, use your notepad to open the log and search for this phrase:

Success:False|Simulated:False

Whenever you see this, it means the software did try to send an email but failed. Scroll to the left to see what the email activity is.

The hidden content below are some email related info we have for the previous version. Take a look if you wish.

Click here to reveal the hidden content


Back to top



Q: Digest subscription failed to send out. Everything else works.

A: Make sure you set the permission for the ~/upfiles folder correctly. See here for help.
Also, make sure you have forum subscription enabled for that forum. The setting is inside the forum management interface for each individual forum.

Back to top



Q: PM subscription failed to send out. Everything else works.

A: PM notification will not send if you are the sender of the PM. It will only send if someone else sends you a PM.

Back to top



Q: Why does my mail hang out in the queue or pickup folders?

A: Here are some suggestions for resolving this issue:
  1. if your mail is not leaving the queue folder, check out Q273644
  2. 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 Q288538
  3. make sure SMTP Virtual Server is running in Internet Services Manager
  4. check the event log for SMTP Service events
  5. turn on logging for your SMTP server, to see if the mail is even being attempted to be sent to the server
  6. make sure your smarthost and FQDN are configured correctly
  7. make sure your smarthost allows you to relay unconditionally (some require authentication)
  8. 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
  9. restart the SMTP Service (or IIS altogether), and if that fails reboot the server, to see if this clears up the backlog
  10. make sure you are sending from / to a valid address / domain
  11. check any .rtr files in the queue folder - these can be caused by various mistakes in code or config
  12. check the server itself by setting up outlook express on the machine, using the same settings, and attempting to send mail
  13. if the machine is behind a firewall/router, make sure it has access to port 53

Back to top



Q: Why do messages end up in the badmail folder?

A: 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:

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 #267859 - fixed in Windows 2000 Service Pack 2)
  • Or, you've reinstalled the IIS SMTP service (see KB #290290), or your SMTP service isn't properly configured (see KB#265621)
  • Or, you are using Smart Host and a DNS server that does not support TCP queries (see KB #276347)
  • Or, you are attempting to run Microsoft Commercial Internet System on Windows 2000 (see KB #258918)

Back to top

Q: Emails go out without any problem to the majority of users, but AOL users can't get any email from the server?

A: If the email problem only happens to users from a very limited number of domains, this indicates two things:
  1. The forum software works
  2. The DNS server responsible for managing Reverse DNS record for your machine is not configured properly
This problem usually happens to dedicated / colo server users. You need to make sure that the mail server machine IP has a PTR record on your own DNS server OR your network provider's DNS server.


Back to top


Q: A small portion of my members can't get subscription notifications, while others can. 
A: It comes down to one of the following reasons:
  1. Their SPAM filters on their email servers are actively blocking mails from you
  2. Their SPAM filters on their email clients are actively blocking mails from you
  3. Their mail servers check for SPF record / reverse DNS entry (e.g. AOL users) which your mail server doesn't have (See this Q above)
  4. Your mail server blocks emails sent to certain domain

Back to top

<message edited by Samuel on 08/06/2008 07:03:48 PM>
Samuel Chou
Forum Administrator

Jump to:

Current active users
There are 0 members and 1 guests.
Icon Legend and Permission
  • 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
  • Read Message
  • Post New Thread
  • Reply to message
  • Post New Poll
  • Submit Vote
  • Post reward post
  • Delete my own posts
  • Delete my own threads
  • Rate post

© 2000-2008 ASPPlayground.NET Forum Version 3.1 Alpha