I need the 'user' of my site to be able to send an HTML email with attachments to a large list of email addresses. Although I don't want them to be able to see the email addresses on that list.
I need this to be able to be done from within a page on my site.
Does anybody know of a program or some code that I code put on my site?
how to use ASP to send mail from my local web server (using IIS on wWindowsXP-pro)? what are the necessary setting needed in IIS to enable mail sending? and how can i send mail?? I tried many web sited but the codes I get simply dont work at all!!! I am really going nuts.
I have a page that retrieve some info from a form, including an e-mail address. I have a Java Script regular expression to take care of the validation on the client side but I also need a similar reg.exp. to take care of the e-mail validation on the server side. Do you have any suggestions on what the server side reg.exp. could look like and whether it should be a function that is called or anything else?
<% Dim email email = Request.form(“email_add”)
Feel very free to fill in the rest of the code that is needed to validate the content of the email variable…
Can any help me on how to use ASP to access a mail server? I need to send an email from the web but i don't want to use "mailto" as the contents sent using "mailto" is messy.
I need a form to mail script with mail server authentication. I do not have a server and i am getting remore server (reseller server package) i used basic mail() fuction (php) but won't work. it was becose mail server authentication prob. Please help me somebody to create a script for my web
Has anyone successfully sent mail through a Domino mail server. I know with Exchange I can just use CDOSYS but we have a Domnio server and have Lotus notes Clients. I'm trying to figure this out but keep getting stuck because I really don't know where to start. I tried the old fashion way but it doesn't work of course. Anyone know how to make this work?
I use the method below to send emails from an asp page that's part of a web application:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" --> <% On error Resume Next Dim cdoConfig, cdoMessage
Set cdoConfig = Server.CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = 2 .Item(cdoSMTPServer) = "MailServer.Name.com" .Item(cdoSMTPServerPort) = 25 .Update End With Set cdoMessage = Server.CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = "Me<mailsender@mymail.com>" .To = "You<mailrecipient@somemail.com>" .Subject = "Surprise!" .TextBody = "Helloooo..." .Send
If err.number Then Response.Write("Houston! We have a problem...") End If End With Set cdoMessage = Nothing Set cdoConfig = Nothing %>
On the production server (Windows 2003 Server) everything works fine and I don't have a problem sending the mails from the application. However, I recently upgraded my development box to Windows XP Pro SP2 and the code fails with with the following error:
CDO.Message.1 (0x80040213) The transport failed to connect to the server.
The from and to email addresses that I'm using are valid and part of my domain (not a Hotmail or other freemail address).
The SMTP service is up and running on the dev box.
I also tried replacing the mail server name with the IP address of the mail server, but again it's failing.
We are running Exchange Server for email and if I change the cdoSendUsingMethod to 3 (for cdoSendUsingExchange) the mail is sent correctly without errors.
Will I not able to use the cdoSendUsingPort method to send the email if I'm on Exchange? Am I forced to use cdoSendUsingExchange?
My computer is at intranet,I want to use following code to realizing function of sending mail.But this program only can send mail between intranet.If I send mail in internet,I need to through proxy server,the proxy method is HTTP(proxy server:xx.yyyy.com,port:8080,username/password),I want to use this program to send from intranet to internet through proxy server.I want to know how to realize this function.My code is follows:
Can I read mail (from an inbox) on an exchnage server with ASP?
If so, how?
I hear all this about CDO, CDOSYS, etc, but they all seem to be able to only send mail. I just need to read mail from exchange server. Can this be done?
I have registered a domain, if i want to check my mail i had provision to go to there web server mail page from there i could login and see my emails,
i have a created home page in ASP there i had login page with username and password,
if i enter the username and password it should straight away take me to the email folder(accessing from my home page rather than going to the their web server login page)....
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.
I have sql server express at my PC-windows xp professional, I try to connect to a table via asp (queryString :"Driver={SQL Server};" &"Server=localhost;" & _ "Database=local;" & "Uid=nikos;" & "Pwd=nikos;" but there is an error Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL server does not exist or there is no permission.
I can login with EMS lite both with sql server Auth. and windows auth.What is fault?
I'm trying to install a simple e-mail form to my webpage; which takes some info from user (like name, phone, e-mail,etc...) and when user pushes submit button e-mails them to me immediately. I've tried to do so with ASP Formmail but I couldn't succeed. . it gives me: Server object error " 'ASP 0177 : 800401f3' Server.CreateObject Failed " error. Can anyone please help me to install my form? Because I need to install it immediately;
I need to read a SQL Server table into a Web Page and within the Web Page to permit my users to make changes to the records, delete or add new records and then save the entire contents back to the SQL Server table back.
The functionality I am looking is almost the same as In the SQL Enterprise Manager whereby I can choose a table open the table and then return all rows and I can maintain the same and save it back to the SQL Server table. I want almost a similar web interface to such a functionality.
Even if not a generic functionality as the SQL Enterprise Manager table maintenance appreciate if somebody can share the code with a sample how I can do it in ASP pages + T-SQL if need be.
I have created a form that sends email thru my local server. What I want to do is send the email thru our corporate Exchange server. Does anyone know how I can accomplish this task? Please advise. Thanks.
Have created a contact page which uses CSS and am using asp mail object to send email on the page. However, I have encountered problems and think it might be down to the DOC type that am using ....
Our company has recently migrated from Windows 2000 servers to Windows 2003 servers. Since the move to IIS 6, I have been unsuccessful in finding how to configure the server to support CDONTS to send smtp mail.
I have used this method in asp pages for years without any issues, until 2003 server. I have even tried opening the smtp server completely, and still no luck. I can send mail using OE through the server, so I don't believe it's an smtp configuration issue.
I am facing a problem, I am using CDONTS for mailing, and the following Code: <% set sendMail=server.CreateObject("CDONTS.NewMail") sendMail.To="divyesh.shah@softsolvers.com" sendMail.Body="Hello Testing" sendMail.From="divyesh.shah@softsolvers.com" sendMail.Subject ="Test" sendMail.BodyFormat =0 if sendMail.Send then Response.Write ("Mail Send") else Response.Write ("Mail Not Send") end if set sendMail=nothing
%> I have two windows 2000 server, while running from one server i got the mail, while from the other i don't got the mail,on the second one the mail is dump in the mailrootqueue. is there is some problem with the CDONTS setting on the second server, or some other problem
I have a simple ASP app (not ASP.Net) that I need to send email from. Can anyone make a recommendation, and share why that's the best one? (cdo, msxml, etc)
I am trying to get cdo.message working on my home development machine, however, when I send it it appears to get stuck in the queue and never actually gets sent.
If I don't have a domain SMTP set (either alias or remote) then I get an error on page. But if I set these, the email just sits on the queue. I have been trying to work it out from other posts and forums, aspFAQ etc but with no joy.
Could someone supply a step by step guide to getting SMTP set up on a win2K pro machine and how to get these mails out of my servers queue and into the outside world so I can properly test code withing having to upload to my hosts server and get the email back?
We use a custom built mail system at work. It is an asp based webmailing system. It uses cdonts.When we try to mailout to our clients (as a group) about 1500 of them, most of them get the full email. Others get about a third of the email.