473,728 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating bulk email through cdosys.dll

is it possible to rn a client side vbscript to send messages using
cdo.message and cdo.configurati on? what are the requirements to do this? my
wks are xp and 2000 and all have cdosys.dll registered. do i have to have
outlook express loaded. i have workstations that don't have outlook but
rather lotus notes and want to send email to an smtp server. these emails
have local attachment thus the need to run client script versus server
scripts. is this possible or am i on the wrong track.
Oct 17 '06 #1
9 3018
You are most likely on the wrong track.

1. Client-side vbscript is a bad choice.
2. This isn't a client-side group
3. Why would you want to send e-mail from a CLIENT machine? This is what
the server is for!
4. Lotus Notes? Please relay my condolences to those users.

Ray at work

"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:78******** *************** ***********@mic rosoft.com...
is it possible to rn a client side vbscript to send messages using
cdo.message and cdo.configurati on? what are the requirements to do this?
my
wks are xp and 2000 and all have cdosys.dll registered. do i have to have
outlook express loaded. i have workstations that don't have outlook but
rather lotus notes and want to send email to an smtp server. these emails
have local attachment thus the need to run client script versus server
scripts. is this possible or am i on the wrong track.

Oct 18 '06 #2
we need to send bulk email, sometimes to 3000 users, and each email can have
3 or 4 attachments. the user/client has access to the attachments not the
server. why should the server be using its resources while the client is
doing nothing. how am i on the wrong track?

"Ray Costanzo [MVP]" wrote:
You are most likely on the wrong track.

1. Client-side vbscript is a bad choice.
2. This isn't a client-side group
3. Why would you want to send e-mail from a CLIENT machine? This is what
the server is for!
4. Lotus Notes? Please relay my condolences to those users.

Ray at work

"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:78******** *************** ***********@mic rosoft.com...
is it possible to rn a client side vbscript to send messages using
cdo.message and cdo.configurati on? what are the requirements to do this?
my
wks are xp and 2000 and all have cdosys.dll registered. do i have to have
outlook express loaded. i have workstations that don't have outlook but
rather lotus notes and want to send email to an smtp server. these emails
have local attachment thus the need to run client script versus server
scripts. is this possible or am i on the wrong track.


Oct 18 '06 #3
Have the user upload the docs and let the server handle the e-mailing. If
you're creating a Web-app, let the Web server do the work. The client may
or may not be sitting there doing nothing, but what the client is or isn't
doing is not relevant in the world of Web-based programming. You have to
assume that your client is nothing more than a Web browser, for the most
part.

Ray at work
"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:21******** *************** ***********@mic rosoft.com...
we need to send bulk email, sometimes to 3000 users, and each email can
have
3 or 4 attachments. the user/client has access to the attachments not the
server. why should the server be using its resources while the client is
doing nothing. how am i on the wrong track?

"Ray Costanzo [MVP]" wrote:
>You are most likely on the wrong track.

1. Client-side vbscript is a bad choice.
2. This isn't a client-side group
3. Why would you want to send e-mail from a CLIENT machine? This is
what
the server is for!
4. Lotus Notes? Please relay my condolences to those users.

Ray at work

"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:78******* *************** ************@mi crosoft.com...
is it possible to rn a client side vbscript to send messages using
cdo.message and cdo.configurati on? what are the requirements to do
this?
my
wks are xp and 2000 and all have cdosys.dll registered. do i have to
have
outlook express loaded. i have workstations that don't have outlook
but
rather lotus notes and want to send email to an smtp server. these
emails
have local attachment thus the need to run client script versus server
scripts. is this possible or am i on the wrong track.



Oct 18 '06 #4
I assume that your workstations are connected to the Internet through your
server? If this is the case, then the server will be doing the bulk of the
work anyway. The creation of the email itself is not that resource
intensive compared to the log jam that will be caused to your network when
trying to squeeze 3,000 emails with attachments through it.

Is sending attachments the best way to achieve what you want? What about
providing links in the email so that recipients can download the docs from
your server if they need/want to?

Also, in answer to the question, why should the server be doing the work -
that's what they are intended for. If yours isn't up to it, you should
upgrade - and that's even more reason for you to rethink your approach.

Nevertheless, if you still want to go the route you propose, have a look at
..vbs files on each workstation under the task scheduler, ensure that an SMTP
service is running on each machine, and follow up in a more appropriate
group such as microsoft.publi c.scripting.wsh .

--
Mike Brind
"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:21******** *************** ***********@mic rosoft.com...
we need to send bulk email, sometimes to 3000 users, and each email can
have
3 or 4 attachments. the user/client has access to the attachments not the
server. why should the server be using its resources while the client is
doing nothing. how am i on the wrong track?

"Ray Costanzo [MVP]" wrote:
>You are most likely on the wrong track.

1. Client-side vbscript is a bad choice.
2. This isn't a client-side group
3. Why would you want to send e-mail from a CLIENT machine? This is
what
the server is for!
4. Lotus Notes? Please relay my condolences to those users.

Ray at work

"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:78******* *************** ************@mi crosoft.com...
is it possible to rn a client side vbscript to send messages using
cdo.message and cdo.configurati on? what are the requirements to do
this?
my
wks are xp and 2000 and all have cdosys.dll registered. do i have to
have
outlook express loaded. i have workstations that don't have outlook
but
rather lotus notes and want to send email to an smtp server. these
emails
have local attachment thus the need to run client script versus server
scripts. is this possible or am i on the wrong track.



Oct 18 '06 #5
thanks for all your emails.

Yes. the workstations are connected to the internet. i don't
understand what you mean by log jam. you mean if i were to create
these emails with attachments on the client and then send them to the
SMTP server, then the network will be jammed up. or it will be jammed
up no matter if it is running on the server or the client.

we can't provide link because we will have to keep these documents on
the server forever and that is not possible. we want to send the docs
and then delete them.

if we were to use the client cdosys.dll to create the email, then why
do we have to have SMTP services running on each client? i don't
understand why we would need .vbs to ensure smtp services is running.

Mike Brind wrote:
I assume that your workstations are connected to the Internet through your
server? If this is the case, then the server will be doing the bulk of the
work anyway. The creation of the email itself is not that resource
intensive compared to the log jam that will be caused to your network when
trying to squeeze 3,000 emails with attachments through it.

Is sending attachments the best way to achieve what you want? What about
providing links in the email so that recipients can download the docs from
your server if they need/want to?

Also, in answer to the question, why should the server be doing the work -
that's what they are intended for. If yours isn't up to it, you should
upgrade - and that's even more reason for you to rethink your approach.

Nevertheless, if you still want to go the route you propose, have a look at
.vbs files on each workstation under the task scheduler, ensure that an SMTP
service is running on each machine, and follow up in a more appropriate
group such as microsoft.publi c.scripting.wsh .

--
Mike Brind
"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:21******** *************** ***********@mic rosoft.com...
we need to send bulk email, sometimes to 3000 users, and each email can
have
3 or 4 attachments. the user/client has access to the attachments not the
server. why should the server be using its resources while the client is
doing nothing. how am i on the wrong track?

"Ray Costanzo [MVP]" wrote:
You are most likely on the wrong track.

1. Client-side vbscript is a bad choice.
2. This isn't a client-side group
3. Why would you want to send e-mail from a CLIENT machine? This is
what
the server is for!
4. Lotus Notes? Please relay my condolences to those users.

Ray at work

"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:78******** *************** ***********@mic rosoft.com...
is it possible to rn a client side vbscript to send messages using
cdo.message and cdo.configurati on? what are the requirements to do
this?
my
wks are xp and 2000 and all have cdosys.dll registered. do i have to
have
outlook express loaded. i have workstations that don't have outlook
but
rather lotus notes and want to send email to an smtp server. these
emails
have local attachment thus the need to run client script versus server
scripts. is this possible or am i on the wrong track.
Oct 23 '06 #6
cdosys needs an smtp server to connect to. This really is the wrong
approach though. I promise.

Ray at work

"redmoosh" <be******@sbcgl obal.netwrote in message
news:11******** **************@ m7g2000cwm.goog legroups.com...
thanks for all your emails.

Yes. the workstations are connected to the internet. i don't
understand what you mean by log jam. you mean if i were to create
these emails with attachments on the client and then send them to the
SMTP server, then the network will be jammed up. or it will be jammed
up no matter if it is running on the server or the client.

we can't provide link because we will have to keep these documents on
the server forever and that is not possible. we want to send the docs
and then delete them.

if we were to use the client cdosys.dll to create the email, then why
do we have to have SMTP services running on each client? i don't
understand why we would need .vbs to ensure smtp services is running.
Oct 23 '06 #7
thanks for your concern. but what would be the correct approach?
do you know

"Ray Costanzo [MVP]" wrote:
cdosys needs an smtp server to connect to. This really is the wrong
approach though. I promise.

Ray at work

"redmoosh" <be******@sbcgl obal.netwrote in message
news:11******** **************@ m7g2000cwm.goog legroups.com...
thanks for all your emails.

Yes. the workstations are connected to the internet. i don't
understand what you mean by log jam. you mean if i were to create
these emails with attachments on the client and then send them to the
SMTP server, then the network will be jammed up. or it will be jammed
up no matter if it is running on the server or the client.

we can't provide link because we will have to keep these documents on
the server forever and that is not possible. we want to send the docs
and then delete them.

if we were to use the client cdosys.dll to create the email, then why
do we have to have SMTP services running on each client? i don't
understand why we would need .vbs to ensure smtp services is running.

Oct 23 '06 #8
Yes, using your server to send the e-mails would be the correct approach.
Give the person a simple file-upload interface, and then let the server
handle the e-mailing after accepting the uploads. If you're worried about
the time that it will take to process the e-mails and you don't want your
user waiting for confirmation, you could response.flush out a "thanks,
finished" message, and let the script continue. Or, do it in .Net and start
a separate thread to handle it.

Ray at work

"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:01******** *************** ***********@mic rosoft.com...
thanks for your concern. but what would be the correct approach?
do you know

"Ray Costanzo [MVP]" wrote:
>cdosys needs an smtp server to connect to. This really is the wrong
approach though. I promise.

Ray at work

"redmoosh" <be******@sbcgl obal.netwrote in message
news:11******* *************** @m7g2000cwm.goo glegroups.com.. .
thanks for all your emails.

Yes. the workstations are connected to the internet. i don't
understand what you mean by log jam. you mean if i were to create
these emails with attachments on the client and then send them to the
SMTP server, then the network will be jammed up. or it will be jammed
up no matter if it is running on the server or the client.

we can't provide link because we will have to keep these documents on
the server forever and that is not possible. we want to send the docs
and then delete them.

if we were to use the client cdosys.dll to create the email, then why
do we have to have SMTP services running on each client? i don't
understand why we would need .vbs to ensure smtp services is running.


Oct 24 '06 #9
Sorry Ray. my message had been cut off. i did not mean to write "do you
know?" it had more to it but was earased.

thanks
i am reviewing my choices with my team members to see what they want to do.

"Ray Costanzo [MVP]" wrote:
Yes, using your server to send the e-mails would be the correct approach.
Give the person a simple file-upload interface, and then let the server
handle the e-mailing after accepting the uploads. If you're worried about
the time that it will take to process the e-mails and you don't want your
user waiting for confirmation, you could response.flush out a "thanks,
finished" message, and let the script continue. Or, do it in .Net and start
a separate thread to handle it.

Ray at work

"RedMoosh" <Re******@discu ssions.microsof t.comwrote in message
news:01******** *************** ***********@mic rosoft.com...
thanks for your concern. but what would be the correct approach?
do you know

"Ray Costanzo [MVP]" wrote:
cdosys needs an smtp server to connect to. This really is the wrong
approach though. I promise.

Ray at work

"redmoosh" <be******@sbcgl obal.netwrote in message
news:11******** **************@ m7g2000cwm.goog legroups.com...
thanks for all your emails.

Yes. the workstations are connected to the internet. i don't
understand what you mean by log jam. you mean if i were to create
these emails with attachments on the client and then send them to the
SMTP server, then the network will be jammed up. or it will be jammed
up no matter if it is running on the server or the client.

we can't provide link because we will have to keep these documents on
the server forever and that is not possible. we want to send the docs
and then delete them.

if we were to use the client cdosys.dll to create the email, then why
do we have to have SMTP services running on each client? i don't
understand why we would need .vbs to ensure smtp services is running.




Oct 24 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
12126
by: iqbal | last post by:
Hi all, We have an application through which we are bulk inserting rows into a view. The definition of the view is such that it selects columns from a table on a remote server. I have added the servers using sp_addlinkedserver on both database servers. When I call the Commit API of oledb I get the following error: Error state: 1, Severity: 19, Server: TST-PROC22, Line#: 1, msg:
12
5486
by: pilot | last post by:
I am having trouble sending a form email on a remote W 2003 server. The test script I am using is as follows <%@ Language=VBScript %> <% Set objMessage = CreateObject("CDO.Message") objMessage.From = "me" objMessage.Subject = "test" objMessage.To = "me@me.com" objMessage.TextBody = "testing" objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")
5
8795
by: Andreas | last post by:
I am working with three computers, my developing computer, a Web Server and a Mail Server (Exchange). I am trying to send a email from the Web Server via the Mail Server to a valid email address with this code: MailMessage msgMail = new MailMessage(); msgMail.To = "test@address.com"; msgMail.From = "from@address.com"; msgMail.Subject = "Mail Example Subject";
36
3058
by: Liam.M | last post by:
hey guys, I have one last problem to fix, and then my database is essentially done...I would therefore very much appreciate any assistance anyone would be able to provide me with. Currently I have set up a Query to show only records that meet a certain criteria...therefore excluding all of the records that do not meet this criteria (just for the record the criteria is any record within my database that falls within two months of its "Due...
5
2717
by: ozzii | last post by:
Hi, I have a asp email script which uses cdosys to send emails with attahcments by iterating through a record set of 500 email addresses. However the script simply times out. I know you can increase the script timeout property in IIS but is there any other way of sending bulk emails with cdosys without it timing out? Any help would be greatly appreciated.
8
7545
by: Akbur | last post by:
Dear all, I'm having major issues sending an email from my ASP.NET app. I'm getting a "Could not create 'CDO.Message' object". When I did a search for cdosys.dll in \win_location\system32, I could not find it. So I copied it from another Windows 2003 server, where it did exist. Another dependant file was missing too (inetcomm.dll).
0
1404
by: david220 | last post by:
hi once members sign up to my site they get sent an email which contains there username/password which they enter on a sign up form. Once they've signed up the email is automatically sent using the code below. The site uses classic asp and vbscript, with the email bit in cdonts. I recently changed hosts and they use cdosys. I have used cdosys email before but are'nt sure how to get it to connect to the asp bits they enter on the sign...
9
3028
by: paulmitchell507 | last post by:
I have a file called email2.asp which I am using to mail data obtained from a SQL query. I would like to pass the holiday_ID value in the querystring attached to the end of the URL. It all works except that I can't get the value of holiday_ID included as a querystring. As a test I can insert a value after the ?id= and this is passed as a querystring. I am sure it's just the syntax that I am having problem with
6
2935
by: jbguernsey | last post by:
for: There was no reference to CDO in the References so selected CDO. Code didn't work (CDONTS.email unrecognised). read There was no reference to CDONTS in the References so selected CDO. Code didn't work (CDONTS.email unrecognised).
0
8895
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8755
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9415
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9191
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9125
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8117
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4523
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3231
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.