Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Imail Forum
Ipswitch list for Imail
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Imail :
product's home
product's list home
 
  Archived TallyList / Imail Forum: 
Subject: RE: Sending email programmatically
Shane Greer (10p/+0r)     Posted: Thursday 29 Mar 2001
This post: 12 views, +0 rating

I have a bunch of invalid user errors in the log...they are originating from the ASP pages which use Jmail. These worked in the past though. I'll grab the Mabry control and see if it works.

-----Original Message----- From: IMail_Forum-owner@list.ipswitch.com [mailto:IMail_Forum-owner@list.ipswitch.com]On Behalf Of T. Bradley Dean Sent: Thursday, March 29, 2001 6:16 PM To: IMail_Forum@list.ipswitch.com Subject: RE: [IMail Forum] Sending email programmatically

I get that error all the time when using JMail. Do the iMail logs show anything?

Now I use Mabry's email control. It works great with iMail for me. I use it in VB and ASP.

T. Bradley Dean (800) 793-8171 Ext. 336 Bradley.Dean@InfoDish.com

-----Original Message----- From: IMail_Forum-owner@list.ipswitch.com [mailto:IMail_Forum-owner@list.ipswitch.com]On Behalf Of Shane Greer Sent: Thursday, March 29, 2001 3:01 PM To: IMail_Forum@list.ipswitch.com Subject: RE: [IMail Forum] Sending email programmatically

I have two method's I am using. One uses CDONTS, it does not give me an error, but the message does not arrive either. That script is (I use "c:\cscript cdonts.vbs" to run it):

Set mailer = CreateObject("CDONTS.NewMail")

strSubject = "Text for subject" strMessage = "Text for Message" strFrom = "shane@web1-2450.gxs.org" strTo = "shane@gxs.net"

mailer.Send strFrom, strTo, strSubject, strBody

The second method is via jmail. It gives an error message. "C:\cscript testingemail.vbs" returns "c:\testingemail.vbs(7,1) jmail.message: The message was undeliverable. All servers failed to receive the message"

Set objEmail = CreateObject("Jmail.Message")

objEmail.From = "shane@web1-2450.gxs.org" objEmail.AddRecipient ("shane@gxs.net") objEmail.Subject = "Testing"

If Not objEmail.Send("web1-2450.gxs.org") Then MsgBox "Failed" Else MsgBox "Success" End If

Set objEmail = Nothing

Note: I don't have much experience with CDONTS or jmail, but jmail is a 3rd party .dll with a few more features than CDONTS. CDONTS is integrated into NT/2000 (i think).

-----Original Message----- From: IMail_Forum-owner@list.ipswitch.com [mailto:IMail_Forum-owner@list.ipswitch.com]On Behalf Of T. Bradley Dean Sent: Thursday, March 29, 2001 5:39 PM To: IMail_Forum@list.ipswitch.com Subject: RE: [IMail Forum] Sending email programmatically

What happens when you try to send email? Do you get an error message?

T. Bradley Dean (800) 793-8171 Ext. 336 Bradley.Dean@InfoDish.com

-----Original Message----- From: IMail_Forum-owner@list.ipswitch.com [mailto:IMail_Forum-owner@list.ipswitch.com]On Behalf Of Shane Greer Sent: Thursday, March 29, 2001 2:30 PM To: IMail Newsgroup Subject: [IMail Forum] Sending email programmatically

Imail version 6.04

We're having problems sending emails through script code. The code worked fine in the past, but people were using our servers to spam, so we changed to the "No Relay" setting. Now, we can't use script to send messages and none of our ASP pages will send emails. We swapped back to "Relay for all", but it didn't help. Not sure if this has anything to do with relay or not. We are using "jmail" and "CDONTS" to send email via script. I tried the scripts on my local machine, which does not use IMail and they worked fine. I uploaded them to our server and they don't work. But, I can send email through the IMail client interface. Any ideas why the script email method has stopped working all of a sudden? Any help would be much appreciated.

-Shane


Similar Subject Line Posts (+/- two weeks of this post)
RE: Sending email programmatically  01 Apr 2001   (10 v/ +0 r)
RE: Sending email programmatically  30 Mar 2001   (14 v/ +0 r)
Re: Sending email programmatically  30 Mar 2001   (10 v/ +0 r)
RE: Sending email programmatically  30 Mar 2001   (10 v/ +0 r)
RE: Sending email programmatically  30 Mar 2001   (11 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (11 v/ +0 r)
Re: Sending email programmatically  29 Mar 2001   (10 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001 (this post)   (12 v/ +0 r)
Re: Sending email programmatically  29 Mar 2001   (16 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (11 v/ +0 r)
Re: Sending email programmatically  29 Mar 2001   (9 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (12 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (9 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (10 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (13 v/ +0 r)
Sending email programmatically  29 Mar 2001   (11 v/ +0 r)
Re: Sending email programmatically  29 Mar 2001   (11 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (13 v/ +0 r)
RE: Sending email programmatically  29 Mar 2001   (11 v/ +0 r)
 

Send a reply to the Imail Forum list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000