Multiple Recipients Mail

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


ADVERTISEMENT

How Can I Send The Mail To Multiple Recipients

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

Email Multiple Recipients With CDO Mail Component

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

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 View Related

How Can I Use SMTP And ASP To Send Mail To Several Recipients On A Single Occasion?

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

Multiple Recipients : ASPMailer

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

Cdo - Send To Multiple Recipients

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

Send To Multiple Recipients

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

Multiple Recipients Using CDONTS

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

ASPEmail To Send To Multiple Recipients?

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

Email Multiple Recipients From Recordset (jmail)

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

Mail Form Sends Multiple Copies?

I've been trying to figure this out for about an hour now but a combination of my own narrow scope and limited experience, coupled with a general lack of information on this sort of thing has this ASP newbie scratching his head. I was told that the issue with receiving multiple instances of the document is relevant to this chunk of code:

View Replies View Related

Jmail - Add Recipients Name?

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

Undisclosed Recipients Message

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

Contact Form Varying Recipients

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

Will CDOSYS Handle Sending To 2000 Recipients?

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

Send A Mail With Cdosys And Save A Copy In The Sent Mail Folder: How To?

I need some help: with cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?

I'm using:....

View Replies View Related

Mail Insertion Hack On Send Mail Form

I'm using CDO to send mail to the site owner from ASP pages with forms.
Recently one of my forms is occasionally sending email with what seems
to be an insertion which is replacing the plain text part of the email
with something else. Looking at the server sent email source, the
hacked emails have the following:

View Replies View Related

Sending Mail Using ASP/VBScript To Exchange Mail Box

Here's the scenario. I'm currently using cdosys/asp to send mail to
our SMTP server. We use a product called MailFilter to check for SPAM.
It doesn't work very well. If MailFilter isn't working cdosys also has
problems and emails don't get sent. As these email are confirmations
for customer's bookings this means lots of customers calling to see
where their confirmation emails have gone. The root of the problem is
MailFilter but that here to stay. So I had this thought of sending the
message to a queue of some sort so at least they will get to the
customer eventually rather than being lost for good. So here's the
question:

Can I/How do I send messages to a mailbox on our exchange server using
cdo.message?

View Replies View Related

Invalid Mail Address Gives Error In CDO Mail

I'm using CDO from my vb component to fire email. The problem is
whenever one of the email addresses in to, or cc is wrong then none of
the mails are fired even to the correct addresses. It gives an error
like

The server rejected one or more recipient addresses. The server
response was: 550 Relaying denied for <xfd@wre.com>

My code goes like this. Why is the mail server trying to look for the
validation of email ids??I want that atleast the mail should be fired
to the correct email addresses rather than no email fire. Can i
achieve that.

Dim iMsg As New CDO.Message
Dim iConf As New CDO.Configuration


With iConf
.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Fields.Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout
.Fields.Item(cdoSMTPAuthenticate) = cdoBasic
.Fields.Item(cdoSendUserName) = "username"
.Fields.Item(cdoSendPassword) = "password"
.Fields.Item(cdoURLProxyServer) = "server:80"
.Fields.Item(cdoURLProxyBypass) = "<local>"
.Fields.Item(cdoURLGetLatestVersion) = True
.Fields.Update
End With

Set iMsg.Configuration = iConf
With iMsg
.To = strToEmail
.From = strFromEmail
.CC = strCCEmail
.BCC = strBCCEmail
.Subject = strMailSubject
If strMailFormat = "TEXT" Then
.TextBody = strMailBody
Else
.HTMLBody = strMailBody
End If
If strAttachment <> "" Then
.AddAttachment strAttachment
End If
If intPriority = 2 Then
.Fields.Item("urn:schemas:mailheader:X-Priority") =
cdoHigh
.Fields.Update
End If

.Send
End With

View Replies View Related

SQL Server - Update/Insert Multiple Cols Into Multiple Tables

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

Searching Multiple Memo Fields In Multiple Tables In Access

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

Sending E-mail To Different Mail Box!

I would like to know if this can be achieved! On the form I a drop down menu that's called ("Escalation_type") the values are eta, hdtv, and supervisors. I have some ideas but I am not sure if it will work or not. If the use chooses an eta as a value I would like it to be sent a mailbox for exam: no@where.com. If they choose hdtv as value I would like it to be sent to a different mailbox. Can this be achieve by using the case statement or the if statement?

View Replies View Related

Asp Mail Without Using A Mail Component

I'm looking for an asp code who can send an email without using a mail component. I started to write somethings using winsock but I don't have enough time to finish it.

View Replies View Related

How To Update Multiple Records With Different Multiple Value

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

Mail And CSS

Have created a contact page which uses CSS and am using asp mail object to send email on the page. However, I have encountered problems and think it might be down to the DOC type that am using ....

View Replies View Related

Mail

I have to create a send mail code after registration had taken place. i want to know how to code for that ....

View Replies View Related

CDO Mail From ASP On IIS 6

Our company has recently migrated from Windows 2000
servers to Windows 2003 servers. Since the move to IIS 6,
I have been unsuccessful in finding how to configure the
server to support CDONTS to send smtp mail.

I have used this method in asp pages for years without
any issues, until 2003 server. I have even tried opening
the smtp server completely, and still no luck. I can send
mail using OE through the server, so I don't believe it's
an smtp configuration issue.

View Replies View Related

Mail Through ASP

I am facing a problem,
I am using CDONTS for mailing,
and the following Code:
<%
set sendMail=server.CreateObject("CDONTS.NewMail")
sendMail.To="divyesh.shah@softsolvers.com"
sendMail.Body="Hello Testing"
sendMail.From="divyesh.shah@softsolvers.com"
sendMail.Subject ="Test"
sendMail.BodyFormat =0
if sendMail.Send then
Response.Write ("Mail Send")
else
Response.Write ("Mail Not Send")
end if
set sendMail=nothing

%>
I have two windows 2000 server, while running from one server i got the mail, while from the other i don't got the mail,on the second one the mail is dump in the mailrootqueue.
is there is some problem with the CDONTS setting on the second server, or some other problem

View Replies View Related

Mail Api For ASP

I have a simple ASP app (not ASP.Net) that I need to send email from.
Can anyone make a recommendation, and share why that's the best one?
(cdo, msxml, etc)

View Replies View Related

Cdo Mail

I am trying to get cdo.message working on my home development machine,
however, when I send it it appears to get stuck in the queue and never
actually gets sent.

If I don't have a domain SMTP set (either alias or remote) then I get an
error on page. But if I set these, the email just sits on the queue. I have
been trying to work it out from other posts and forums, aspFAQ etc but with
no joy.

Could someone supply a step by step guide to getting SMTP set up on a win2K
pro machine and how to get these mails out of my servers queue and into the
outside world so I can properly test code withing having to upload to my
hosts server and get the email back?

View Replies View Related

Asp Mail

We use a custom built mail system at work. It is an asp based webmailing system. It uses cdonts.When we try to mailout to our clients (as a group) about 1500 of them, most of them get the full email. Others get about a third of the email.

View Replies View Related

Mail In ASP

how can i send the mail to multiple receipients like yahoo.mail or hotmail.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved