I have installed on my web server the aspsmartmail component v.2.7.
All work fine, but I have only on problem...
Can I specify the mail server port with the "ServerPort" property?
On the web I read:
....
Set objSmartMail = Server.CreateObject("aspSmartMail.SmartMail")
objSmartMail.Server = "myserver.mail.com"
objSmartMail.ServerPort = 21
...
The last line return a "Object doesn't support this property"
How can I specify a specific port with this object?
I am trying to configure AspSmartMail, since that is what my webhost uses as a component on their servers and I haven't used it before. I am a beginner basically when it comes to ASP- and I can't get my code to send more than one form field result to my inbox... Here is the code: .....
I am learning to use aspSmartMail and relatively new to ASP programming. The following code emails information to me from a form. I would also like to send an email to the reader who filled out the form (that code follows the initial coding). Is it possible to put these together, or must I call the second code from the first? I am not sure how to do this. Code:
Let me start by saying I'm fairly new to Asp coding. That said...
My ISP only uses AspSmartMail. I've created an online form that uses fill out, which is then e-mailed to the collector of the information and CC-ed to the person who submitted the information.
The error I'm receiving is this: aspSmartMail.SendMail : Error 28 error '8004001a' 504 Invalid Username or Password
In my script, I've Dimensioned several items, as you'll see below, passing the authenticating username/password to the smtp server, but it's not working. I tried not passing the information by entering in the actual info without it being passed by the diminsioned items. This didn't work either. I of course verified that the username/password I'm usine is correct.
Can someone plase tell me why I can't authenicate? I would really appreciate any help that might be out there.
Relavant Asp code below: ----------------------------------------- Dim smtpserver,youremail,yourpassword,yourusername,rem oteemail
I use aspSmartMail without any problem, but when trying to send a html message to my list of subscribers, I got the following error for all of them excepted for my own adress email (and my message appears correctly in html format)
aspSmartMail.SendMail : Error 40 error '80040028'
Error when check Recipient address : 550 not local host aol.com, not a gateway ...
there is a property in asp.net called autopostback, what i want is to set this property on plain asp to give a combo the ability to postback the selected option.
Is this possible???? i need to set something like that to a dinamic combo, any ideas????
If it can be done in java or vbscript just please tell me, cause i don�t have a clue if is possible or not.
returns the error "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" In both cases connection to sql server is ok.
I have a requirement like this.When the textbox gets focus..at this even i want to change the input langauge settings.like arabic. Currently i have to do it manually by pressing the Alt+Shift key..to toggle between twon langauages
when do u use property procedure for example PublicProperty CompanyName() AsString Get Return strCompany EndGet Set(ByVal Value AsString) strCompany = Value EndSet EndProperty
I have a few server controls on my page. Also I have a aspropDownList with AutoPostBack="True". When I select any value from the dropdownlist I want all the controls to be empty when my page reloads.
Can I use the EnableViewState property for this or I have to write specific code to do this? Currently the values which I had enetered in the servier side controls are retained after the postback.
Is there any way to make visiblitiy a combo box (2) in asp false when i used combo box (1) to select one item in the combo box(1) i want to make a combo box(2) which should be made visible false .
I'm using the Microsoft.XMLDOM object in an ASP page to read an incoming XML post request and respond to it. Although the XMLDOM object verifies the XML at a basic level, I want to make sure that the request is in the correct format (as per the specification I have to work to), as well as making sure that any XML at all was sent successfully.
At the moment, I'm stuck at the point of just trying to make sure that an XML request was sent at all. Here's the code I'm using. note that I'm loading the XML from a file for ease-of-testing, but am giving a bad filename so as to create the condition where the XML didn't load successfully.
I got the following error when access an asp page.
Response object error 'ASP 0185 : 8002000e' Missing Default Property /downtime_category-old2.asp, line 0 A default property was not found for the object.
I am able to get the nullable property OK when generating a recordset with a simple SQL statement such as "select Fld1,Fld2 from Table1" and then looping thro' the fields and :-
Response.Write(rs.fields(x).attributes and adFldIsNullable)
When I use the following statement all fields are erroneously reported as nullable:-
"Select B.Fld2, B.Fld3 From Table1 A Left Join Table2 B On A.Fld1=B.Fld1"
I want to disable text box property so user can't modify that perticular text box value in HTML form.I do not want to use label.how to disable text box property in HTML form.
how could I know if a specific sessionid still exists or not. If there is a method or anything that can tell me about the existence of a specific sessionid .
I am using CDONTS in an ASP program to accept input from a Form and send an E-mail. The form includes the following as well as some other information :
From (the name of the sender) To ( the name of the recipient) From E-Mail ( the senders E-Mail Address i.e. the Reply to address) To E-Mail ( The recipient's E-Mail Address )
I am having trouble with two properties. What property do I use to set the From (the name of the sender) ? What property do I use to set the From E-Mail ( the senders E-Mail Address i.e. the Reply to address) ?
On my webpage I have a textbox. I would like to be able to change the text in the textbox and via a pushbutton have the value in the textbox written to the .text property so that next time the page is viewed the new value will be displayed.
I'm opening a recordset with a SQL statement and then trying to use the .RecordCount property to count the number of rows in the recordset. For some reason, it is always returning -1. Code:
I have a standard ASP Textbox control on my form and need to set the readonly property of it using javascript. It's not essential that I do it via client side script but would look a lot better.
why is the DefinedSize of the Field object of type adInteger returning the value 4 and the same property on a adVarWChar type field (Text in MS Access) is returning the max length of the string that it may contain (for example 52)?
I am trying to dynamically generate links on a webpage base on a list of file using their title property as the link text. My problem is I don't know how to get the title property of the file. Is there a object or dll i can use?
I got the sample from MS website on the search form. There is a property, DocTitle. It doesnt bring any data back to be displayed. Could someone help me and tell me what this is suppose to bring from pdf/word files?
I thought it was the title in the word document for the document properties? I have something there in the document but it still doesnt display it. It seems to be always blank.
i have made a different site for user authentication and want to check for authenticated user from a <loginview> <asp:loginstatus....> in a different site how can i do that ,
the problem i am facing is that when i use a loginview and login status link in one of website to other site where i have made the user authentication module i get the error on the link
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /testsite/login.aspx
Using ASP, Is there a way to read the File property of an Image. Like Comments, Subject etc. (Information seen when you right click on an Image) I have tried using the FileSystemObject. But this is limited to very few properties like AccessDate Modified Date etc.
I also tried reading the Exif information in the JPEG. The EXIF Comments are not the Same as Comment section available from the Properties of the File.
I use following code in an ASP page to generate a GUID:
<% dim obj Set obj = Server.CreateObject("Scriptlet.TypeLib") Response.Write(obj.guid) Set obj = nothing
%>
It worked fine on my WIN2000 computer running IIS. I recently bought a new computer with XP Pro and this page times out. I now it is the call to obj.guid. I have seen the same behaviour on another XP machine as well.
The funny thing is if I paste this code into VB and display the guid in a message box, it runs without a problem.