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:
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:
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")
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 RelatedI'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 RelatedI 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.
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:
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
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 Relatedhow 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.
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?
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 RelatedI'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) .....
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!)
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?
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 RelatedI'm using CDO.Message to send emails and i'm using the .CreateMHTMLBody to send an html page, the only problem that i have is that when you view the email, you notice all the images that are in that page as attachments !!!! the email loads fine, but is there a way not to show the images in the attachments line
View Replies View RelatedI have a asp page that sends a excel price list to customers, this worked
fine untill now, but now when i sent one to myself it arrives as a dat file.
Does any one know why, and how to fix it, is it a problem with my emailk
reader (Outlook) or is it some thing to do wih Exchange?
I am using CDO Message to send mail from ASP page. I find that all the mails sent goes to bulk folder or appear as spam message in both yahoo and gmail. How can i prevent that.
View Replies View RelatedIs There a Message Box in Active Server Script like in
Visual Basic?
The four books I have show it the same as VB but I get a
Message "Permission Denied"
MsgBox "Message"
does anyone knoe how to make a message box in asp vbscipt??
I am using
msgbox hello
or
msbox "hello"
to try and get a message but i get the error:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'msgbox'
change.asp, line 17
When I load this script it says, �No record found�. This message suppose to display when I put something in search box and there is no record that matches in database. Everything else works fine. How can I get read of �no record found� message when I load page Code:
View Replies View RelatedI am using CDO.Message object with code below. When I execute the .Send command, I get the following error.
Error: -2147220973
Description: The transport failed to connect to the server.
Note: The SMTP Server and the IIS Server are the same machine.
Anyone come across this error message in the past? This error also occurs when I use Method #1 where I use the schema reference provided by Microsoft. Here is the code:
I've created a form that e-mails the response to a person. Problem is that I want to include their name in the From attribute. Unfortunatly, the .From doesn't like spaces between strings. Are there any suggestions how to fix this? Code:
View Replies View RelatedI use CDO.Message to send mail. The problem is, CDO.Message will send to any malformed address, (eg. smtp:email.address@domain.com) and no errors are thrown.
View Replies View RelatedI want to delete a record from sql DB in asp page.. When the word "delete" is click, there will be prompted by message box about want or not to delete the record.
If the message box is clicked "yes" then record will be deleted. If the message box is clicked "no" so the record will not be deleted.
I've tried to use vbscript, but it didn't work, because I don't know how to combine this vbscript with ASP which is should connect to DB too.
If anyone who read this, has a complete coding for solving my problem, n would like to share with me ...
Does anyone know if it's possible to send an email out in the Session_OnEnd script?
I Know it's possible to create a connection object in Session_OnEnd but unsure if it will create a cdo.message object.
My ASP is limited and I can't recall how to pop up a simple message box
(with OK button).
I want to use them for debugging some code.
im making an online course and on a certain page there are 3 items that each user needs to open and read. I want to check and see if they have opened all of these items before they can continue, so I would like to have a msg box pop up when they try and leave the page if they havent opened all 3 items first.
I have the database set up so if i know if its they're first visit to the page, and it knows when they open each of the 3 items, I just dont know how to get a msg box to appear when they try and leave the page. I know there is no msgbox fuction in asp.net, and i have tried javascript alert on page unload, but i get a "Response is not available in this context." error.
I am using CDO Message Class for sending email.My program is working properly.But some times it sends only part of mail.
I am sending through my mail server using authentication.Every thing is fine.I sending mail in html format.I am not understading the reason behid this problem.is there any limitation of size of message to be sent?
i recive this error when sending the email that uses cdosys
------------
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
/admin_SubscribedCust_email_processor.asp, line 42
-------------
line 42 is --> myMail.Send
Can someone explain the with/end with operative used with cdo.message.I havent come across this before.
View Replies View RelatedI have created a page which loops through a recordset and creates a new row for each record.This row contains an image which the user can click to delete the record that is displayed in that row.
When the user clicks the delete image (link) I wish to make a message box appear with YES/NO buttons and a "Question" Icon.The message box will display "Are you sure you want to delete record x from the database?"where x is the primary key from that table (objRS.Fields("RecordID") )
If the user clicks YES it will redirect the user to a page.If the user clicks NO no action is performed.
How do i insert a messagebox in asp?
View Replies View Related