I tried using the one listed here http://www.aspfree.com/c/a/ASPCode/...rom-a-database/ but I keep getting an error which I've posted but haven't found an answer for yet. Does anyone know of any other one that I can use. I basically want to be able to pull a list of the emails out of my db and send an email to those addresses.
I just took over maintaining an ASP codebase for sending out newsletters by mail, as well as basic subscriber maintenance.
Thing is working ok today, with ~200 subscribers, but there are plans on selling this 'solution' to clients with substantially higher demands; at least in the low 1000's..
Would you consider asp suitable for this purpose? Would be a definitive plus not having to use other technology, but i'm concerned about timeouts and whatnot while sending out such a batch of mail.
Guess it could be made workable with tons and tons of logging, and maybe generating a client redirect every X mails, to restart/keep the script going?
Or is it perhaps possible to fork off a new thread and do this as a real background task? I'm not too knowledgeable on ASP, and neither was the guy who wrote this system in the first place, unfortunately.
I have a test and production environment. The code works fine on test but behaves erractically in production. The script needs to email people who are subscribed to a particular service. On test it is a small list but the list on production is fairly large. Does the CDO object have a maximum number of people that can be BCCed? I also have email addresses with hyphens in them, are there special characters, (other than @), that have to be respected? I have seen some other posting with people having issues with the CDO object and one of the suggestions is to:
# Try using a SendUsing value of 1 (pickup) instead of 2 (port). E.g. the following line:
cdoConfig.Fields.Item(sch & "sendusing") = 2
Becomes
cdoConfig.Fields.Item(sch & "sendusing") = 1
What is the difference between these two? The webserver is juts using the default SMTP server, is it going to work with a setting of cdoConfig.Fields.Item(sch & "sendusing") = 1? Where are they picking it up from?
I have a table in SQL server, that has three columns:
ID, Asset, Keywords.
i.e. ID Asset Keywords 1 Car Mercedes 2 Car Toyota 3 Color Blue
Ok, what I'm trying to do through my asp page (since I cannot do it through SQL, seeing as how it appears that what I want to achieve would be outside the scope of why it was created)... is I'm trying to run a query that will get a list of the assets available and then string the keywords for that asset to a variable. Code:
I currently developing a Email marketing application using asp and aspemail for a client. They requested the application to be able to mass email to their client that is store in an access database. So how can i initiate the application email to all the email store in the database?
My problem is, when I send e-mail to our members, not all of them are getting them and there is no rhyme or reason. I was thinking of re-writting the program to go through MS Outlook so our Exchange Server will take care of sending it. Then again, probably there is someone who can help me figure out why some e-mail are not getting delivered even though they have valid e-mail addresses. There must just be about 25-35 out of probably close to 2000 members in our mailing list. I am using SMTP do you think it is getting overloaded with delivery? Sometimes they would come back with a delivery delayed notification.
I posted my code because there might be something in my program that does not work for mass e-mail sending and somebody might want to give me a suggestion on handling this matter.
What if I send the e-mail one by one instead of doing a bcc?
I just had a problem where I needed to update a bunch of records from a single form submission. I am sure there are lots of better ways to solve this, but I offer the code I came up with. Also I’m asking if there are any better ways.
The form page had a form in it with a table. Each row in the table had a database record in it. In each row, sat the input field titled “myOrder” and a hidden field called “myID”. The table was a repeat region, so that each field was populated dynamically from each record in the database. The number of records was dynamic in that they increased or decreased by the category the user was in.
The page submitted to my mass_update page.
Here is the relevant part of the code that took each “myID” and “myOrder” data and then updated the database record:...
I'm going to have a need to send out about 30,000 e-mail messages regularly to addresses that reside in a list/database. (not spam :)
Because of insitutional infrastructure issues on the +receiving+ side, I need to space out the sends: say, send 500 messages, pause ten minutes, send another 500, until the full list of 30,000 is complete.
I'm either going to code this myself, or buy a component that does this for me. Can anyone advise me of a component that can deliberately slow down the processing/sending of an e-mail job? The SMTP stuff will reside on our end.
my page(searchresults.asp) will show all the results that you searched for.. These results are from the sql server. All the datas are different. On the right of every record, there is a checkbox.
Now is the scenario..
After all records are shown, I will check a few checkboxes. Then i will click the button. All the data that is checked will be inserted in the sql server. But the thing is that all data records is different..
Its actually kinda off like the hotmail, where you checked a few boxes and put them into a different folder..
What would be the best approach to sending a mass email out without clogging the server or running the risk that emails maybe lost (possibly due to a timeout).
Currently, I've been given the task with sending out a monthly newsletter to our customers (upon request of course). It is an easy task from what I can tell, simply bcc all the emails, set HTMLBody and TextBody and send it off. But, I will be sending this to 5000 clients and dont want any dropped emails.
Plus, is there a way to determine failed email address (due to bad domain names, bad email address, etc) and report it to the web application?
I currently have a CGI mailer that is running but not executing mail because there isn't an open relay between the mail and web servers, if I was on unix and had sendmail I would be right I think. Now Im looking at going down the ASP route, would I need to open up a mail relay to get an ASP mail script to send mail? In this configuration? I am running this on a Windows 2003 machine and looking at CDONTS.
I am having a heck of a problem getting this script to email correctly. A form generates all the values, and the script sends off confirmation email- except I don't get any of the confirmation emails I don't get any errors either. I've tried multiple email addresse (in network, out of network, etc.)
I tried sending a mail with an attachment . I am able to attach a .jpeg as well as .pdf file to the mail but the prob is when i try to attach and send a .doc file . i am storing the path of the file selected thru a browse option and then attaching that file to the mail with mailer.addattachment. It gives the correct path but does not attach the .doc file.
I am trying to send out a mass email newsletter. I have 600+ subscribers in our SQL Server Database. Well, is ASPMail (Server Object's product) good for this? If so I have some concerns about the error handling and assuring people don't continue to recieve the same email. Does anyone have expierence with this? If so, what is your advice?
I am web admin for a school's website and now and again I have to send emails to those who have signed the guestbook and have consented to this. Now I have a distribution list within outlook but whenever I try to send these emails I receive different errors e.g. 'too many recipients' Does using CDONTs to dynamically send emails eliminate this problem? Are you aware of any cheap programs out there that will meet my needs? I would also like to be able to easily track and delete the emails that are no longer in use...
I'm given a DB with everyone's particulars including emails which I'm supposed to retrieve all their emails and do a mass reminder email to the individual email addresses.
I don't want to send a email whereby all the email addresses is shown in the email. Can someone give me some ideas as how am I supposed to go about doing it using asp and vb. Is there any working codes I can refer to?
I am testing a mass emailer that I will be sending out this week. I use ASP to read email addresses from a db table which is contains a list of email addresses of those who will receive the email blast. I have included myself to see the results of the test. I noticed when I received the email, the body or content of the email was repeated as many times as there are people in the email list the code was reading from. Can someone tell me what I did wrong in the code below?
I have attempted to write an .asp script to post form data to my e-mail, however when I tried to move it into a separate file, I no longer receive it... or it might be the for..next loop I tried to use. Code:
I know that the SMTPsvg.Mailer component is used to send mails from ASP Page. Can any body tell me where can I get the Component for download or Do I need to purchase the component? Is this Component is better than CDO ?
I have only dundas and the free softartisans.com mail installed on my server. Am wondering, who i could run mailer script that supports both html and graphics ?
I have used Mailer successfully on websites before. This time, I am trying to run my Mailer code on localhost, with IIS. This line, which in general works, is now generating an error message:
set Mailer = Server.CreateObject("SMTPsvg.Mailer")
What I've tried so far:
set Mailer = Server.CreateObject("SMTPsvg.Mailer") set Mailer = Server.CreateObject("CDONTS.NewMail") set Mailer = Server.CreateObject("localhost")
I don't know if I should be trying something else, if I have to do something beyond the actual code, or if it is simply not possible to have mailer working on iis/localhost.
I want to use a simple CDONT mail script to allow the administrator of a site to send an email blast to their users. there are approx 1600 emails in the MS SQL db table. I would like to parse the entire email address column and get a variable that is all the email addresses separated by a comma so that the form picks it up as all the emails in the 'bcc' field as in the eg. below..I know there has to be an easier way but I want to get these guys up and running.
I'm using a block of ASP to allow a user to send a form via e-mail. However, someone keeps sending me spam through this form and they're using a bogus return address. I'm testing for a successful send, which should fail if the return address is not valid, but I'm still getting the junk.
The block looks like this:
Set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.RemoteHost = "smtp.xxx.com" Mailer.FromName = Request.QueryString ("Name") Mailer.FromAddress = Request.QueryString ("Email") Mailer.AddRecipient "Web Mail", "PCT2@xxx.com" Mailer.Subject = "P.C.T. E-mail" Mailer.BodyText = UserString if Mailer.SendMail then Response.Write " - Sucessful - " else Response.Write " - Failed - " Response.Write Mailer.Response end if
Should this block be stopping bogus From addresses? Or do I need to be doing something different?
I am still finding my feet creating a website in ASP, and i'm trying to get to grips with users providing feeback to my site. my webhosts have the dundas mailer installed, and i am trying to get it to work for me.
does it work in conjuction with regular html? can i add a <form> and text fields? and then will all that get sent with the page? .....
I'm looking to manage an email list with SQL server and send out newsletters. Does anyone have an idea of the limitations of sending emails with CDONTS.MAIL object? How long would it take to send out 1000 emails via asp. I guess there are many variables with that, but that's say there were no attachments and we have 15k emails. These news letters really will only be sent once a month or so. But lets say our list grows to 10000 users or even 100,000. Is that a good idea to send 100,000 thousand emails through an asp page? I wouldn't think so .