Alternative to CDONTS
-
apart from the commercial products like aspmail is there an alternative to CDONTS ? I will be having a hard time convincing our sysadmin to install cdonts.dll on our server (win NT) :( so was looking for an alternative. Regards, SRT
You could do it yourself. I won't go into programming specifics in this forum :), but all you really need is the MX record for a domain and there's plenty of examples on that (I've posted one a couple times in various forums here on CodeProject, for example). Sending mail isn't that hard. Connect to the mail host on port 25 and just pass the right commands in the right order:
HELO myhost.mydomain.tld
MAIL FROM: username@mydomain.tld
RCPT TO: username@otherdomain.tld
DATA
From: username@mydomain.tld
To: username@otherdomain.tld
Subject: Test
Content-type: text/plain; charset=us-ascii
This is a test.
.Microsoft MVP, Visual C# My Articles
-
You could do it yourself. I won't go into programming specifics in this forum :), but all you really need is the MX record for a domain and there's plenty of examples on that (I've posted one a couple times in various forums here on CodeProject, for example). Sending mail isn't that hard. Connect to the mail host on port 25 and just pass the right commands in the right order:
HELO myhost.mydomain.tld
MAIL FROM: username@mydomain.tld
RCPT TO: username@otherdomain.tld
DATA
From: username@mydomain.tld
To: username@otherdomain.tld
Subject: Test
Content-type: text/plain; charset=us-ascii
This is a test.
.Microsoft MVP, Visual C# My Articles
That's only for SMTP. CDONTS works with Exchange server, and there is no guarantee the Exchange/network server will allow SMTP requests. Jeremy Falcon
-
That's only for SMTP. CDONTS works with Exchange server, and there is no guarantee the Exchange/network server will allow SMTP requests. Jeremy Falcon
You got a point there. In general, SMTP should be okay, though, of which AspMail is a client.
Microsoft MVP, Visual C# My Articles
-
apart from the commercial products like aspmail is there an alternative to CDONTS ? I will be having a hard time convincing our sysadmin to install cdonts.dll on our server (win NT) :( so was looking for an alternative. Regards, SRT
If you can use SMTP, Heath's suggestion is possibility. Also, if you have Outlook installed on the server, there's a good chance CDONTS is already installed. Jeremy Falcon
-
You could do it yourself. I won't go into programming specifics in this forum :), but all you really need is the MX record for a domain and there's plenty of examples on that (I've posted one a couple times in various forums here on CodeProject, for example). Sending mail isn't that hard. Connect to the mail host on port 25 and just pass the right commands in the right order:
HELO myhost.mydomain.tld
MAIL FROM: username@mydomain.tld
RCPT TO: username@otherdomain.tld
DATA
From: username@mydomain.tld
To: username@otherdomain.tld
Subject: Test
Content-type: text/plain; charset=us-ascii
This is a test.
.Microsoft MVP, Visual C# My Articles
You need some <> around those mailaddresses :P MAIL FROM: someone@moon.space - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
-
If you can use SMTP, Heath's suggestion is possibility. Also, if you have Outlook installed on the server, there's a good chance CDONTS is already installed. Jeremy Falcon
Outlook on a server? Why would that ever be installed? - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
-
Outlook on a server? Why would that ever be installed? - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
To use CDO. It won't work without a postbox on the machine. Jeremy Falcon
-
You need some <> around those mailaddresses :P MAIL FROM: someone@moon.space - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
Works fine in my mailer without them.
Microsoft MVP, Visual C# My Articles
-
Works fine in my mailer without them.
Microsoft MVP, Visual C# My Articles
Not with all mailservers ;) If you read the SMTP RFC (I dont have the number right here) it says to use <> I know most servers don't care, but I always think it's best to follow the standard ;) - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
-
Not with all mailservers ;) If you read the SMTP RFC (I dont have the number right here) it says to use <> I know most servers don't care, but I always think it's best to follow the standard ;) - Anders Money talks, but all mine ever says is "Goodbye!" ShotKeeper, my Photo Album / Organizer Application[^]
I've read the RFC and related RFCs (many RFCs about other things as well, including the infamous annual April 1st drafts) and just never really bothered with them. I know you're right, but daemons are much more forgiving these days. I suppose I should change it in my mailer.
Microsoft MVP, Visual C# My Articles