|
|
|
|
|
Total Hits: 219 | Today: 0 |
Author: classicasp
|
Rating:
|
|

Whether you're using CDO, XP_SMTP_SendMail, or a 3rd party COM object to send mail, you may have experienced this problem. Your mail works some of the time — but doesn't work either when the mail is intended for your own domain, or it only works when the mail is intended for your own domain. Here are some things to check that will hopefully help resolve the issue. Many of these suggestions will require some input, and possibly some work, from your network and/or Exchange administrator....
|
|
|
|
Total Hits: 191 | Today: 0 |
Author: classicasp
|
Rating:
|
|

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...
|
|
|
|
Total Hits: 78 | Today: 0 |
Author: classicasp
|
Rating:
|
|

Many people see this as a viable alternative to using a 3rd party or built-in mail component to e-mail the results of a form:...
|
|
|
|
Total Hits: 69 | Today: 0 |
Author: classicasp
|
Rating:
|
|

You can use ASP to validate the *format* of an e-mail address, but not necessarily that it is a valid and working address. Here is a rather concise script using regular expressions (thanks again to Chris Hohmann for his useful RE input):...
|
|
|
|
Total Hits: 70 | Today: 0 |
Author: classicasp
|
Rating:
|
|

You should make sure that your content is easy enough to read for those that have disabled HTML, are using a web interface that doesn't allow HTML through, or are using a mail reader without HTML support (e.g. Pine). In cases where you can offer alternate content, you should tell the user that they may have to re-construct the link. In addition, the latest build of my chosen mailreader allows me to turn off HTML completely (in both preview pane and full view); I've also recently started playing ...
|
|
|
|
Total Hits: 83 | Today: 0 |
Author: classicasp
|
Rating:
|
|

SQL Server has the ability to send mail without being triggered from ASP. So, if you have an application that needs to e-mail users once a month, or on their birthday, or to send you details every day about what went on in the database that day, you can set up a job that wakes up and sends e-mail. Similarly, you can call extended stored procedures to send mail on demand (e.g. every time a stored procedure fires)....
|
|
|
|
Total Hits: 75 | Today: 0 |
Author: classicasp
|
Rating:
|
|

If you are using HTML mail, you can use HTML carriage returns. For example, if the body is coming from a textarea, you'll want to use the following to put HTML carriage returns in:...
|
|
|
|
Total Hits: 64 | Today: 0 |
Author: classicasp
|
Rating:
|
|

In most e-mail readers, this link will be active (clickable) but probably won't work correctly, because the mail program (and/or the mail server) might force the text to wrap to the next line after a certain number of characters (usually 72 or 76). So, what can you do to prevent this from happening?...
|
|
|
|
Total Hits: 55 | Today: 0 |
Author: classicasp
|
Rating:
|
|

Using CDO.Message, you're supposed to be able to do this:...
|
|
|
|
Total Hits: 67 | Today: 0 |
Author: classicasp
|
Rating:
|
|

CDONTS.NewMail only supports local smtp servers, so you can't set up a remote server to handle your mail from this object. If you are unable or unwilling to configure the web server to support outgoing SMTP mail, you will need to use another product (you're going to have to migrate from CDONTS anyway, since it has been deprecated and no longer ships with Windows XP or Windows Server 2003)....
|
|
|
|
Total Hits: 365 | Today: 0 |
Author: Nathan Ridley.
|
Rating:
|
|

I submitted this article because I found it to be of great use and it does a good job of supporting all my form emailing needs. If you find it useful, then great! :)...
|
|
|
|
Total Hits: 157 | Today: 0 |
Author: Christian Kiefer.
|
Rating:
|
|

This article explains the forwarding of emails with CDO and Exchange. CDO.DLL, responsible for CDO 1.2 (Collaboration Data Objects), is installed on the web server during the installation of Exchange 5.5 or Outlook for Web Applications (OWA).
Unlike CDONTS (Collaboration Data Objects for NT Server), CDO 1.x only works with the users who are authenticated on the Exchange Server. In contrast to this, every user who has got the right to create ASP scripts can send emails via CDONTS....
|
|
|
|
|
|
|