Click to See Complete Forum and Search --> : Help!! CDOSYS and CDONTS quirks


gregw74
04-12-2007, 12:11 PM
Please assist if at all possible!!

Currently we are using CDONTS and CDOSYS to send out emails. Each one is producing a different issue.

When using CDOSYS, if an email address contains a hyphen(-) prior to the @ sign, the form will fail. Can anyone reading this who uses CDOSYS test this same scenario in their environment? I wonder if this is a CDOSYS issue, or something specific to my situation.

When using CDONTS, we can only send to email addresses that are internal to our company. For example, any emails addressed to John.Doe@widgetsRus.com go through fine. For all non widgetsRus email addresses, such as Internet addresses, the form submits but the delivery never occurs and so failure messages are returned. This single form has been setup on two servers, on the one server it works fine and can be sent to non widgetsRus recipients. The same form on a different server does not. I know it's not the code so I'm wondering if there are some SMTP settings that could be the problem?

I'm really looking for some leads or solutions to either method. Any help with either would be greatly appreciated.

Thank you!!

Chikara
04-13-2007, 04:05 PM
This sounds more like a mail server set up issues rather and CDOSYS/CDONTS issue.

1.)E-mail addresses with hyphens in them work fine for me, just tested this. I would make sure your SMTP settings are correct.

2.)The fact that you can send internally most likely points to SMTP, or firewall issues.

If the machine that is trying to send mail out is behind a firewall, just open port 25(I think).

I hope that helps.