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: 10 views, +0 rating

Bob-

I'm not an expert on the programmatic interaction, but here is what I can tell you. It's pretty easy to write a script that will send an email. These links have some examples:

for CDONTS: (NT/2000 only i think) http://msdn.microsoft.com/library/psdk/cdo/_denali_folder_object_cdonts_libr ary_.htm

for jmail: (you have to install this dll) http://www.15seconds.com/component/pg002042.htm

Usually, I just write a script or small VB app and it works. If I use my local machine for jmail, I might put "smtpout.verizon.net" to send it. For example:

Set objEmail = CreateObject("Jmail.Message")

objEmail.From = "Yor EMail Address" objEmail.AddRecipient ("The Recipients Address") objEmail.Subject = "The Subject"

If Not objEmail.Send("smtpout.verizon.net") Then 'your smtp goes here MsgBox "Failed" Else MsgBox "Success" End If

Set objEmail = Nothing

That should do it...or something close. For IMail, we used "web1-2450.gxs.org" in the smtp spot (one of our host accounts). Usually that works, but not lately for some reason. Strange because I can send from that account through IMail Client. Hope this helps.

-Shane

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

Shane,

I am trying to figure out how to programmatically interact with iMail. Their tech support said they couldn't help me and that I should check the forums. I saw your note, so I hope you don't mind me asking you.

Could you point me to any resources that might give me some info on doing this type of programming?

Thanks, Bob

-----Original Message----- From: IMail_Forum-owner@list.ipswitch.com [mailto:IMail_Forum-owner@list.ipswitch.com]On Behalf Of Shane Greer Sent: March 29, 2001 5: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   (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 (this post)   (10 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   (12 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