I have a mailing list of several thousand people, and it takes forever to send emails out. I am using ASPemail to send them, but I have heard that you can set a SMTP pickup directory using Microsoft's CDO. I would like to be able to click "send" and then have them all sent to the server for processing.
I'm new with asp and server thing so if somoene could help me to resolve my problems it would be very great.
I'm trying to send myself an email but it doesn't work, no error message, I just don't receive any email.
Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="bob@hotmail.com" myMail.To="bob@hotmail.com" myMail.TextBody="This is a message." myMail.Send
Our local educational host doesn't have any COMs on their servers so I need to use the built-in (if there is one!!) mail/smtp component of ASP.net to send web form data via email.
Is there such a thing in ASP.net? My apols for the newbie question, but I'm still an ASP classic developer.
Could somebody post me an example of how to use it.
We currently have a form that is in PHP that after the user fill out the form and hit submit, this form send all the information via email to us. I like to know if there is a similar feature or way to do this in ASP.
using the code below is how to send email using asp;
<% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="martialdc@hotmail.com" myMail.To="amboy416@yahoo.com.ph" myMail.TextBody="This is a message." myMail.Send set myMail=nothing %>
but i encounter this error;
There is a problem with the page you are trying to reach and it cannot be displayed.
attached with this thread is the file (send.asp) so that you can check it for sure.
I am trying to develop a web site which involve in log in n to retrieve password. When a user forget their password they will use this service, after they enter their email address, i will send their user id and password to their email which allow them to see their user id and password, but i don know to to do this service which will automatically send email to user email address when they click the button .....
I've got an asp page that uses CDO.Message and CDO.Configuration to send an email.
I'm not receiving any of these emails normally (i.e. in Outlook), instead they all end up in this folder : Inetpub/Mailroot/Queue.
Could someone please explain what this means? Does this mean the emails have been successfully sent?...or are they waiting to be sent?
I'm pretty sure my smtpserver name is correct because i've got the same thing going in .NET and it all works ok there (as in I get an email thru Outlook). Just can't seem to get it going in ASP.
Not sure if it this relevant...I'm behind a firewall, so i'm assuming the smtpserver name is for a smart host, which is fine in .NET, but i'm not sure how that'll work out in ASP (eg. what do i set the serverport number to?)
I've just downloaded a component called AspEmail (http://www.aspemail.com). When i tried to test my code using the localhost, it require sthe address of my SMTP server inorder to send the email.
I put "localhost" as the address but i cannot send the mail for some wierd reason. I check the badmail folder just to find some mails under the "queue" folder.
I've tried the same code in a different pc, and i got a different error: AspEmail: Simple.asp Error occurred: Connection timed out.
Does any body know how to send email using that aspemail component on localhost Appreciate it.
I want to implement a function to send emails to the registered users from my web site using ASP. The problem is that the web server provider I'm using does not support any email components (such as CDO, CDONTS, or third-party) or SMTP server.
Therefore I'm looking for some free email/SMTP provider which enables me to send the email information from my ASP web page to their server and it will forward it as ordinary emails to the recipients.
One way to do it could be to set up a html form with fields to hold the email information (recipient addresses, sender address, subject and body) and send it to the service provider. Something like: ....
<% Set Mail=Server.CreateObject(“CDONTS.NewMail”) Mail.To=”me@mydomain.com” Mail.From=”testing-my@SP-Script.com” Mail.Subject=”Just testing my script” Mail.Body=”Hey! I am sending this email through an ASP Page and guess what? I haven’t learnt much yet, but know that ASP is very powerful.” Mail.Send Set Mail=nothing %>
Can I use the above code, if my pc is running on Windows XP Professional Edition?
I'd like to get opinions on how this can be done. The brief background is that there is someone who, on a daily basis, puts together an email with links and text related to immunization.Would it be possible to automatically: receive this email; fit it into a database; then have a web page read the contents of the page from the database? e.g., the web page could be told to present the text with the highest record number (assuming each new email is entered in as a new record).
set mailmsg = Server.CreateObject("CDONTS.NewMail")
mailmsg.To = "xxx@mail.com" mailmsg.From = "yy@mail.com" mailmsg.Body = "This is a test message." mailmsg.Host = "xxx.host.com" mailmsg.Send
With this code they work fine but if i do this code Set oConfig = CreateObject("CDO.Configuration") to do smtp authentication i received the error that object can be created, because pc of my web hosting have linux with operating sytems and have installed a package to run asp. Can anyone know other object to do smtp authetication.
i have created a form that emails the data once the submit button is pressed...however i am not recieving the email message. Im not sure if it is because im developing with IIS and its not able to send from my local computer or if it is my code. here is the basic action page
<% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="test@tvds.ca" myMail.To="k.letendre@tvdsb.on.ca" myMail.TextBody="This is a message." myMail.Send set myMail=nothing %>
I have developed a website in ASP 3.0 and Acesss 2000/SQl Server.
I wan my web site sent invoices to my customer automatically ...at some specified time (lets say it execute ceratain ASP page at 3:00 am that send emails)
how can i schedule that?
Should i write some program (EXE) that will run on web seerv to do this task or do we have soem other decent solution?
Basically I have a page and I would like to have several forms on this page where a user can input thier email address and a short comment, then click on send and i get n email with the details.
I know how to set up a basic form but I have no idea how to send it, can anyone help me and show me what to put where to set this up on brinkster please.
Oh and I would prefer to use ASP if thats possible.
I have the following script that posts a message to the guestbook database just fine. Now what I need it to do is send an email to my email address that would contain a link to my edit page where I can click to go edit it. The link should have the message_id included in it because that is how I want to choose the record through the edit page, now how do I change the below script to do this?
<%@ Language=VBScript %> <% On Error Resume Next Dim oCat, strADOXTableName call GetADOXConnection message="" mypage=Request.Form("targetpagenumber") if mypage="" then _ mypage=1 myaction=Request.Form("todo") if myaction="" then myaction="add" if myaction="add" then _ myaction="added".........
Is it possible to redirect the server to another ASP page if the requested page throws an error? I want to redirect the user to a custom error page and then send the webmaster an email that contains the error message.
using asp and vbscript is it possible to send auto emails to the engineers who r assigned that work if the text box contains their name and we can also retreive their email ids.how can u send auto emails to them by clicking a button on the asp form?
I have a ASP email script and want to send a bog standard ASP email acknowledgement to anyone who sends me an email from my website which will contain a "Thank you Mr so and so for sending us an email message relating to this and that, we will be in touch very soon." For the life of me Ive tried everything that I know. The script I have takes elements from the email form and posts the request to me. Please can anyone help before I end up OD'ing on caffine.
I have tried a simple asp page which send out an email with a message:"This is a testing". This has been done in CDO and it works fine. However, when I tried with:
I am trying to add to a web site I am currently designing the function of automatic email sending. I want users to be able to sign up to a mailing list by completing a form (easy enough) and when they click 'Submit', the information is sent to my clients email address. I can quite happily programme everything described here and to auto launch the users email editor (Outlook/Thunderbird etc) with Subject and Body automatically completed but cannot send the information WITHOUT launching the email editor! I see this function on many web sites - no fuss, not even having to click the SEND button, just Submit and it's gone! This is obviously important for people with hotmail accounts etc who don't use Outlook/Thunderbird.
I need to send some japanese text out, when i retrieve from form it worked, but when i retrieve from database, the japanese text does not work.
** when i first do, all work but user have to go and set the encoding to japanese, i am suppose to force it to be japanese the moment user see the email in outlook/lotus note.
I am able to do this by setting the codepage=932, but this only work when data is retrieved from form. if i retrieve from database the words become garbage text. I am using asp + mssql 7
I am able to display the japanese text onto IE from db without problem...
I am currently working on an e-commerce website. The customer has asked for a link to Email this Product (Image) to a Friend.
I created the following code but the test email received only has the text. How do I get the image to display in the email. This is apparently a file not found condition.....
I've tried to send a mail using CDONTS.DLL but the mail goes in to C:InetpubmailrootQueue"
Here is my code
Dim Mailer Set Mailer = Server.CreateObject("CDONTS.NewMail") Mailer.To = "testemail@hotmail.com" Mailer.From = "expediteur@email.com" Mailer.Subject = "Titre du message" Mailer.Body = "Le texte qui sera envoyé" Mailer.Importance = 0 Mailer.BodyFormat = 0 Mailer.MailFormat = 0 if not Mailer.Send then response.write ("mail envoye") else response.write ("Mail non envoyé. Erreur : ") & Err.Description end if Set Mailer = Nothing
I work with win xp pro, do can I use CDONTS or CDO? I work on local (the webserver is located:C:Inetpubwwwroot)
I'm trying to write a script that will send a automatic email either on loading the thanks you for ordering page. or the one before that where the order is placed pressing a order now button, it can only be send when the button is pressed and the order has been placed in the database.
Now I've writen a test script to figure out how this whole automatic emailing works but I can't get it to work. I hope someone can tell me what is wrong. Code:
I was able to send email via the server in both .NET and ASP (using CDO for ASP). However I had to configure a SMTP server for this to work, which means the email will be sent via the server's SMTP service. so this could mean a lot of overload on the server. So as to reduce the work on the server, is there another way to send email to people?