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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bob Silverberg
Sent: Thursday, March 29, 2001 5:33 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]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
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/