Multiple Recipients
I have a form that I want to email three people from - dependant upon three fields in a form.At the mo, I can only email 1 person.it doesn't work
Set iMsg.Configuration = iConf
iMsg.To = Request.form.Item("Room") & Request.form.Item("student") & Request.form.Item("teacher")
View Replies
ADVERTISEMENT
I'm sending email using ASPMailer thru ASP to single recipient, it is working fine. But if i m sending to multiple recipients its not working, email is going but not in proper format. i am sending some HTML format email. the email received by recipient if getting junk not in proper format.
View Replies
View Related
I have few textboxes on my first page that ask for user's e mail address and other five additional e mail address after submiting that form it sends a copy to all the people use e mail address is entered.
I can send e mail to only one person if i put following code
objCDOMail.Cc = "viral007@gmail.com
or
objCDOMail.Cc = Emailtxtfield
but how can i send e mail to all the people on the list
it works if i put this
objCDOMail.Cc = "viral007@gmail.com; viralbhatt@hotmail.com"
but i have to get the value from txtbox
so if i put this code
objCDOMail.Cc = Emailtxtfield; Emailtxtfield2
it doesn't work.
View Replies
View Related
I'm using cdo to send auto-generated emails. I'm calling a stored procedure that returns a recordset.
In most instances, the recordset will only return one record containing one email as the value. However, there are instances, where two records can be returned with two seperate email addresses that I need to send out using cdo. This is how I'm calling the procedure:
Code:
View Replies
View Related
I am using CDONTS to send a confirmation email. I am using plain text to send my email. I would like to send to multiple users, but I am already using the "To," "Cc," and "Bcc." Is it possible to send to multiple recipients in the "To" field? I am also using variables instead of hard coded email addresses. Here is my code:
Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= TeacherEmail
MyCDONTSMail.To= Administrator, Administrator2, Administrator3
MyCDONTSMail.Cc= Secretary
MyCDONTSMail.Bcc= TeacherEmail
View Replies
View Related
somebody can whats wrong with my script, i would to add some additional recipients on the cc field, what would i do? Code:
View Replies
View Related
how can i send the mail (CDONT) to multiple recepients in ASP
if i select the address from the address box ,then all the selected mail id will go to TO text box with ' seperator.
View Replies
View Related
ASPEmail to send to multiple recipients? I tried to use comma and semicolon but all the time give this message error:
Error: 6 - 501 Bad address syntax
nor : email@dom,email@dom,email@dom
or: email@dom;email@dom;email@dom
what is the sintaxe for it? can I only send for one recipient by time?
View Replies
View Related
I'm trying to send an email (jmail) to everyone in a recordset but I'm getting no joy,I keep getting a "not all servers received message" error or something similar, can someone please take a look at this code and see if they can spot my glaring errors ?
<%
set rsetReminder = Server.CreateObject("ADODB.Recordset")
rsetReminder.ActiveConnection = MM_connmessages2_STRING
rsetReminder.Source = "SELECT * FROM accessgroups WHERE ((accessgroups.fldjoined<Date()-14)) AND fldGroup = 'Guest' ORDER BY fldjoined DESC"
rsetReminder.CursorType = 0
rsetReminder.CursorLocation = 2
rsetReminder.LockType = 3
rsetReminder.Open()
rsetReminder_numRows = 0
%>
<%
While NOT rsetReminder.EOF
firstname = rsetReminder.Fields.Item("fldFirstname").Value
lastname = rsetReminder.Fields.Item("fldLastname").Value
emailadd = rsetReminder.Fields.Item("fldEmailAddress").Value
username = rsetReminder.Fields.Item("fldusername").Value
password = rsetReminder.Fields.Item("fldPassword").Value
usrid = rsetReminder.Fields.Item("fldnewuserid").Value
crlf=chr(13)+chr(10) .....
View Replies
View Related
I'm a PHP programmer who for some reason was tasked with fixing some code on an asp page. I have what I feel should work, but I am getting this error:
CDO.Message.1 error '8004020c'
At least one recipient is required, but none were found.
/admin/mass_email_monthly.asp, line 47
Line 47 being this line: objMessage.Send
Now I want to have multiple recipients pulled from the database as illustrated in the code, but it isn't working. I have no idea why, and I have no idea what that error message means? Can anyone point me in the proper direction of a tutorial that can help? OR possibly show me where my syntax is wrong?
View Replies
View Related
I have a Jmail form with several texfields incl. email and name of users. The mail is sent from me "John Doe" "email@domain.com" to the user filling out the form. When the e-mail is being sent it looks like this: Code:
View Replies
View Related
I'm using CDO Message to send out a newsletter, but I want to keep the recipient list hidden from view in the email TO: field and just show <undisclosed recipients>
How can I accmplish this? Code:
View Replies
View Related
I have a standard formmail contact form that I would like to customize the recipient on. In other words, I want to be able to specify the recipient in a string in some cases, but when it is not specified have it send to a default recipient. What's the easiest way do accomplish this?
View Replies
View Related
I have a database of 2000 subscribers. I need to send an HTML email to the entire list, but the mail needs to be individual to each recipient, so I need to loop through a script integrating database results into the mail-out.
My host doesn't have any ASP email components installed on the server other than CDOSYS.
Will CDOSYS be able to handle this, or will it flake/timeout? I need to be sure that when my colleague presses 'the button' it works (I'll be on holiday at the time!)
View Replies
View Related
I use CDOsys and this code to specify the recipient. I guess I could create two separate instances of the objMail and specify everything one more time, but I want to send mails to two persons at once (the recipient and myself) and therefore wonder if there is a shorter way to do it.
View Replies
View Related
Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.
I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.
If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.
View Replies
View Related
I have a search option on my website, which should perform a search on 4 fields, as follows:
tblNews
headline
content
tblDatabank
filename
description
It only needs to return matches which are an exact match of their search criteria. For instance, searching for "I am here" would return a record which contained "I am here", but not just "I" or "I am" etc.
I need to return all these records as part of one recordset preferably, as I want to be able to order them etc., though I imagine you may suggest I use an array somehow to merge two recordets etc., then reorder them?
View Replies
View Related
i hav problem with updating the data. In the asp page i hav displayed records based on search criteria. in display mode im displaying the to be updated field in combo box for each similar contract_no. each contract_no will hav different no of rows and to be updated combo box.
based on the selected value in the combo boxes of different contract_nos i hav to update the combo value with old value. user select multiple combo values at a time I need anybody's help with detailed programming logic.
View Replies
View Related
I have a database being updated by a text file every ten minutes, so in the code that is why the column names are messed up.
My problem is I get all the sums, and counts all working. What I need to do is at the end of it have a sum for for all the columns returned, i.e. col002, I need all the sums in that column added up for a total at the bottom. The following code works but when I try to do column totals I can't get it to work, Code:
View Replies
View Related
I need to connect to 2 different databases in ASP and execute two different queries. Please let me know how to proceed. I understand that ADODB.Command option can connect to only one database at a time.
View Replies
View Related
I have to do a multiple redirect. That means one ASP-script should do more than one HTTP-request.
e.g.
response.redirect(url1)
response.redirect(url2)
...
I know, that it won't work like that... Does anyone now a solution or workaround
View Replies
View Related
Is there a way of using multiple recordsets with the same connection?
My recordset at the moment inserts data into the database, and i want to have a drop down box with data already within the database, as well as the insert recordset, is there a way of doing this?
View Replies
View Related
This is my code, for some reason, when I use this exact code it doesn't update my database, but if I use the next section of code it does. Anybody knows why that when I use two different "Insert" in If Then End If, it doesn't work? Oh and I did try the "If PID = 105 OR 151 Then" alone and it works well. Code:
View Replies
View Related
I have a replace function <%= Replace(arData(0,i), "_", " ")%> that works
fine to replace the _ with a space, but I'd also like it to look for, and
replace one word with another in the same string (E,G replace the word
"Right" with "Wrong"). The code is located in a table that is displaying the
results of a database search.
I'm having problems with a) finding out if it's possible to do it this way,
and b) what the syntax should be. I've tried all manner of combinations, but
no luck. Any ideas?
View Replies
View Related
I WAS having problems. Solved it myself. I'll edit to show the working query for those who could use an example...
I'm having a multiple condition problem in my query statement. I know the what the result should be, but I have something wrong...
Here's the query:
set GetNADs = server.CreateObject("ADODB.Recordset")
set GetNADs.ActiveConnection = adoConnection ......
View Replies
View Related
I need script or a link to a tutorial that will allow me to do the following.
User enters username and password site checks the username and password against database1
if the user entered the correct username and password the page shows records from database2 if the user enterend incorrect username or password then nothing happens.
I am new to this forum and really looking forward to being involved in the community.
View Replies
View Related
i am trying to do Multiple Posting to different Server when
User post the Order form.
one to windows server
second to linux server
third to its own server
View Replies
View Related
how to have multiple language asp pages? For example, you have a database driven website that you want customers around the world to use. How do you setup the asp pages so that it is easy to change the text based on where the user is
connecting from?
View Replies
View Related
I need to have some dynamically created ASP, with mutliple word documents
and PDFs all connected so that it can be printed with a single print
command.
My two ideas are:
having the PDF and DOC files act like images and print entire thing as a web
page.
-Or-
Creating a single PDF file from the concatenation of the asp results and the
doc and pdf files.
View Replies
View Related
I am using asp codes to connect to my access database. But i have a query in mind. Will my database still work if more than 1 user is logon to edit the database records?
View Replies
View Related
How to perform multiple search using asp in website, the search from local adn remote database.
the local search is working properly, but the remote search stil kinda stuck with it...
my local search script(work well):
dim Connection
set Connection = server.createobject("ADODB.Connection")
Connection.open "Provider=SQLOLEDB;DATA SOURCE=PROTOS;UID=smc;PWD=project;DATABASE=Virtual-Observatory"
how to attach the remote database search for the same website??
View Replies
View Related
I have this search and results system on one page....
I'd like it where the results that come up from the search are editable and can be updated.
I can't seem to figure out a working way to update more than one field at a time.anyone have a good piece of code for multiple edits
View Replies
View Related
How can I get this to work?
<% if objRS2("System") <> "Scholastic" OR "Rolling Readers" OR "Reading Recovery" Then Response.Write "selected" End If%>
View Replies
View Related