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 ....
I have copied this from another page that I have. The original page takes the details from a form on another page, so the results above are all request.form("whatever") etc, and the original works!!
but if I try to put fixed values in as above it fails to work and I can't see why?
I've even tried a response.write to check the values..and they look right, but no mail is sent
I'm running win XP pro but have taken the CDONTS.DLL from my win 2000 pc and done the regsv32 etc etc
maybe I should try to use CDOSYS but
a) I haven't a clue how and so b) I copied a script directly from a help page which didn;'t work either! c) the eventual host server is running NT4
When I attempt to send mail from my IIS, it works, but after I upload to a website, the feature does not seem to work as nothing is arriving in my inbox. Here is the source of my test code:....
My other problem with the code that I am writing is that I cannot get the email funtion working. I eventually want it to use another SMTP server rather than running on the local machine using IIS' built in email system.
The code is very simple as follows:
<% Set myMail=CreateObject("CDO.Message") myMail.Subject="Email Test" myMail.From="me@test.com" myMail.To="someone@somedomain.com" myMail.TextBody="This is a CDO email test." myMail.Send %>
This should work fine as far as I can tell, I am running win xp pro with IIS installed and SMTP service running. When I access the page though I get the following error:
<LI>Error Type: (0x8007007E) /mycal/email.asp, line 12
<LI>Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
<LI>Page: GET /mycal/email.asp
<LI>Time: 09 March 2005, 10:26:01
CDOSYS.dll is present in the windowssystem32 directory, I can only presume it is something to do with that, but I really don't know. I tried to register the dll in regsvr32 to see if that was the problem, but it said it couldn't register it (return code 0x800704da).
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......
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
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:
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.
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?
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:
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.
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.
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...
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 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:
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?
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
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
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?
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.
The problem is that I can run the ASP files in the wwwroot folder when I use http://localhost from my browser or RUN (and that's for the default.asp). But the asp files do not work when I call them from a hyperlink in an HTML file.
After I moved the site to new server the mailing method stoped working , the cdo pull the email from sql database on the same server .. although it says sent to # recipients. I send a webpage (newsletter) exisit on the server "I use full url" also the registration page gives when registration the error: CDO.Message.1 error '80040218'
Unknown Error
/extra/news/reg3.asp, line 251
line 251 is objSendMail.CreateMHTMLBody "http://www.example.com/newsletter.html" I saw description of the error it sayes that I have to use full url ...but I am using it ... any Idea ...
I have a sever 2003 machine of which I am trying to host a webisite on. The webpages I uploaded has lots of .asp files that could not be open. I'd contact the website disgner and complains about it and an he blaims it on my server not supporting asp technology. My question today, is there a way to test what the problem really is?
The server gets to the end since I place a response.write in to test.
If I cut and past this into VB declare the variables as objects and lineout as string and remove the "Server." from the line when setting fs, then it works fine in VB.
The problem is that I can run the ASP files in the wwwroot folder when I use http://localhost from my browser or RUN (and that's for the default.asp). But the asp files do not work when I call them from a hyperlink in an HTML file.If I do that, all I see are the contents of the asp file.
Just set up Dedicated Server Hosting with GoDaddy. I put a very simple ASP page in the home web directory and try to load it and get a very generic error. A simple HTML file works fine. Obviously it's a permissions issue or maybe some service is not running.