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
ADVERTISEMENT
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
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
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
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
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
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
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 database with a tbl "Email" in the tbl are two fields "Name and Email", now I have writen a asp script that emails to the all email addresses that are in tabel, here comes the problem, if I buld a loop that will bring all the emails in the same message iis doesn't allow it If i have fixed this problemm(hope that anyone can help me?), there is on more left, the recevers of this email have to see to who the email has send.Job
View Replies
View Related
I have a stored procedure that requires one variable to be filled: WHERE ItemNo = @ItemNo
Instead of sending 1 value,I'd like to send a bunch of values. I don't mind changing the SP if I new how to approach this. The user would select any number of ItemNo's from a form and submit.
Assume ItemNo's like: B1, B2, B3, etc...
The end result would be something like ...
WHERE ItemNo = B1 or ItemNo = B5 or ItemNo = B10 ...etc....
I want to build a recordset based on the user's selections. How?
View Replies
View Related
Here's the script I'm using now to send me a picture selected in a form (from a browse button type thing), sent to me in the attachments.
Right now it will only send the one picture (field name="Attachment"), how can I change this script to send multiple (for example; ten) pictures in the attachments from the form??
Here's the script...
View Replies
View Related
I have two forms, one on each page. The user fills the first, then the second, then on the third page all the information is displayed for the user to make sure thats what they want to send.
Then they click submit on the third page and it goes through a database and depending on which category, state and county the user selected it will email all the information displayed on that third page to all the emails in the Email field in the database.
Now, I already have the first and second pages(easy enough) and the third page I can get it to display all the info how I want it and now I need to know how to go about emailing that info to the emails that match the specific fields? Right now all I have it doing on the third page, instead of submitting it for emailing, it just displays the info from the forms AND emails that match from the database. Code:
View Replies
View Related
I am having problems sending html emails to our customers using ASPemail. It looks like AOL is blocking these emails with their SPAM filter....
View Replies
View Related
Been struggling with this for a week to no avail. I have run simple test mail scripts and they work fine, but when I try to modify the existing formmail.asp it doesnt seem to work......
View Replies
View Related
I am using Persits.MailSender object of ASPEmail.dll to send an email. I am getting the following error message 'Software caused connect abort'
Can any one tell what the problem could be?
NOTE : SMTP port 25 is open, as i can connect to the SMTP server with telnet <server name> 25
View Replies
View Related
Need help with the CC object of ASPEmail script, how can I make it dynamic so that a varible can be inserted in this obj instead a static email address
View Replies
View Related
When I submit my form, it works fine, and it comes into my MS Outlook. But for some odd reason, after line 8, it stops creating the output on a new line. Now this is no problem for me, but this will be going to someone else, and they'll get confused. Does anyone know why it stops line-breaking? Code:
View Replies
View Related
If you are sending out bulk emails in the range of 800 to 1000 per day
which component is better:
1. ASPEmail
2. CDO
....and further, do they also BOTH use a SEND TO QUEUE option.
I wish to progress according to the best one for the job...which do you
think?
My current host maximumASP.com only allow 800 emails per day - grrrrr -so I
am now forced to consider the painful sendqueue route which could result in
my outgoing emails sitting on the server for hours if others are doing the
same thing.
List server is too expensive complex; Cannot find a suitable local bulk
emailer program except Access Mailer from FMS which is single threaded and
does not auto-detect html or text mime in recipient email.
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
Not sure if anybody has run into this problem. I'm using ASPEmail from Persits to generate an email and send it. The problem is that when I check the email that the asp code sent using Outlook Express or Outlook the email gets cut off 3/4 of the way. If I check the email on hotmail, yahoo mail, any other email program....the email comes in full. Any ideas why this might be?
View Replies
View Related
I am having a problem and I do not know as to decide. I had a form that he used another jmail component, something thus... and I modified the code to use aspemail, but t� not giving certain, only is giving errors of this, that and etc...
I would like well very to ask for to the voc�s aid this form to function. My server only accepted ASPEMAIL. Somebody has a form I to use of model ASPEMAIL. Well if somebody that understands well to be able to look at the code below and to see the errors, and if will be able to fix, Code:
View Replies
View Related
I am building a simple incident recording system using ASP.
The form has Name, email address, telno, incident description and records the data to an access db and send an email to the user with an incident ticket number.
The client has asked for an extra feature to be able to attach documents such as Word documents.
Has anyone got a sample script where on the form the user clicks a button where he/she can browse for the file to be attached and ASPEmail can than send the mail with attachment.
View Replies
View Related
Has anyone converted from ASPMail to ASPEmail...?
1) I get the following error. Can you offer some insight?
2) Is there an equivalent to this line: Mail.ContentType = "text/html" ...? 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 flash email contact form that uses ASP to execute the send mail. My sendmail component of choice is ASPEmail. The original script was CDONTS, but I needed it changed. I'm no programmer, but I got tired of posting for assistance in various forums only to receive plenty of looks but little help.
One person is offering to help me out, but I want to figure it out on my own until he gets some time to write up a script for me. Here is my script, which is sectioned out for easier reference. My form still doesn't send any mail and I don't know what I'm doing wrong. I do not wish to rewrite the script because then I'd have to change the text input fields in my Flash contact form. I merely am seeking assistance on fixing my existing script in sections IV and V (toward the bottom of the script).
Would someone explain to me what I'm doing wrong, please? Oh, and before you ask, I did test my ASPEmail configuration and it is working fine via the test scripts that came with it.
When you fill out the form and click SUBMIT the acknowledgement (i.e Thank you very much...blah, blah, blah) appears and everything looks okay, but the mail never reaches my inbox, which to me means that it's not being sent.
So far, I haven't had much success with anyone tackling this, so I'm hoping that I can get some help here...I was able to get some really good and knowledgeable help a year ago...any takers?
<%
'SECTION I
Response.Buffer = True
Dim strBody
Dim objCDOMail
Dim strMyEmailAddress
Dim strCCEmailAddress
Dim strBCCEmailAddress
Dim strReturnEmailAddress
' END ....
View Replies
View Related
Is there a way to send a newsletter to 14.000 addresses using an web-sending email aplication like Jmail, ASPemail or others? Ill tell you the whole problem, my friends. Im responsable of sending the newsletter, and my life is travelling from one city to another.
I dont have any notebook, so it would be very helpful if I could make (or use another's) aplication in where, using a user & pass, I could enter to a site and run "send" and then quit.
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
Database: Access 2000
Host: Maximum ASP
I am trying to work out the best way to send bulk email below the 1000 mark
(about 800).
I understand that I could either use ASPEmail or CDO although I believe that
ASPEmail may be superior in that it offers SENDQUEUE command which will
allow me to loop through my customer database and insert them into the TO
fields.
1. Could the above be confirmed?
2. I wish my mailing list to be invisible - I don't want the mailing list to
be evident in the recipients email...is this just a question of looping them
into the BCC field?
3. I remember seeing some posts a while ago highlighting problems with the
SendQueue Method.... what are the curve balls with this approach.
My web host tells me I can send upto a 1000 per day yet www.aspfaq.com says
about 800. How do I tackle this task correclty. I cannot move up to SQL
Server or MSDE yet and I do not have access to a mail server...
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 am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
View Replies
View Related