Click here to Skip to main content
15,912,977 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How to get the "Last Update" of my HTML file? Pin
Daniel Strigl25-Nov-02 0:19
Daniel Strigl25-Nov-02 0:19 
GeneralRe: How to get the "Last Update" of my HTML file? Pin
Megan Forbes24-Nov-02 23:52
Megan Forbes24-Nov-02 23:52 
GeneralRe: How to get the "Last Update" of my HTML file? Pin
Daniel Strigl25-Nov-02 1:27
Daniel Strigl25-Nov-02 1:27 
GeneralRe: How to get the "Last Update" of my HTML file? Pin
Sarvesvara (BVKS) Dasa25-Nov-02 21:35
Sarvesvara (BVKS) Dasa25-Nov-02 21:35 
AnswerRe: How to get the "Last Update" of my HTML file? Pin
Stephane Rodriguez.24-Nov-02 23:48
Stephane Rodriguez.24-Nov-02 23:48 
GeneralRe: How to get the "Last Update" of my HTML file? Pin
Daniel Strigl25-Nov-02 1:27
Daniel Strigl25-Nov-02 1:27 
QuestionWhat to choose?? Pin
Sarvesvara (BVKS) Dasa24-Nov-02 18:53
Sarvesvara (BVKS) Dasa24-Nov-02 18:53 
AnswerRe: What to choose?? Pin
Roger Wright24-Nov-02 19:30
professionalRoger Wright24-Nov-02 19:30 
My hosting service offers ASPEmail (www.readyhosting.com) along with several others. Here's the script for one of my clients' sites:

<%
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host= "mail.readyhosting.com"
Mail.From= "mydummyaddress@clientdomain.com"
Mail.FromName= "Refinance Contact"
Mail.AddAddress "myclient@clientdomain.com", "Client Name"
Mail.Subject= "Refinance Worksheet Submittal"

'Construct Message Body
Crlf= chr(13) & chr(10)

Body = "Broker Name: " & Request("Mort") & Crlf
Body = Body & "DPR Number: " & Request("DPR") & Crlf
.
.
.
Body = Body & Request("Cons10Amt") & " @ " & Request("Cons10Lend") & Crlf

'Prepare to send
Mail.Body = Body

'Send Mail

Mail.Send
%>

If that's not handy enough, here's the sample code from the vendor:

<%
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "smtp.smtp-server.com" ' Specify a valid SMTP server
Mail.From = "sales@veryhotcakes.com" ' Specify sender's address
Mail.FromName = "VeryHotCakes Sales" ' Specify sender's name

Mail.AddAddress "andy@andrewscompany.net", "Andrew Johnson, Jr."
Mail.AddAddress "paul@paulscompany.com" ' Name is optional
Mail.AddReplyTo "info@veryhotcakes.com"
Mail.AddAttachment "c:\images\cakes.gif"

Mail.Subject = "Thanks for ordering our hot cakes!"
Mail.Body = "Dear Sir:" & Chr(13) & Chr(10) & _
"Thank you for your business."

On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write "Error encountered: " & Err.Description
End If
%>


It works slick, and the client is a happy camper - that's the bottom line, ain't it?Big Grin | :-D

Since his site solicits different types of customer applications, the mydummyaddress@clientdomain.com entry changes for each type, and I had him set up his office client to retrieve from each mailbox. He can tell from the From address of each message what kind of app he's received.

"My child was Inmate of the Month at Mohave County Jail" - Bumper Sticker in Bullhead City, AZ
GeneralRe: What to choose?? Pin
Sarvesvara (BVKS) Dasa25-Nov-02 2:36
Sarvesvara (BVKS) Dasa25-Nov-02 2:36 
AnswerRe: What to choose?? Pin
Megan Forbes24-Nov-02 20:03
Megan Forbes24-Nov-02 20:03 
GeneralRe: What to choose?? Pin
Roger Wright24-Nov-02 20:35
professionalRoger Wright24-Nov-02 20:35 
GeneralRe: What to choose?? Pin
Sarvesvara (BVKS) Dasa25-Nov-02 2:40
Sarvesvara (BVKS) Dasa25-Nov-02 2:40 
GeneralMail from SITE Pin
Sarvesvara (BVKS) Dasa23-Nov-02 19:47
Sarvesvara (BVKS) Dasa23-Nov-02 19:47 
GeneralRe: Mail from SITE Pin
Megan Forbes23-Nov-02 20:18
Megan Forbes23-Nov-02 20:18 
GeneralRe: Mail from SITE Pin
Sarvesvara (BVKS) Dasa24-Nov-02 18:25
Sarvesvara (BVKS) Dasa24-Nov-02 18:25 
GeneralRe: Mail from SITE Pin
Sarvesvara (BVKS) Dasa25-Nov-02 2:42
Sarvesvara (BVKS) Dasa25-Nov-02 2:42 
GeneralRe: Mail from SITE Pin
Vasudevan Deepak Kumar25-Nov-02 3:07
Vasudevan Deepak Kumar25-Nov-02 3:07 
GeneralRe: Mail from SITE Pin
Sarvesvara (BVKS) Dasa25-Nov-02 19:23
Sarvesvara (BVKS) Dasa25-Nov-02 19:23 
GeneralNeed help with IIS/ASP Pin
JazzyJack23-Nov-02 1:01
JazzyJack23-Nov-02 1:01 
GeneralRe: Need help with IIS/ASP Pin
Roger Wright23-Nov-02 6:39
professionalRoger Wright23-Nov-02 6:39 
GeneralRe: Need help with IIS/ASP Pin
JazzyJack24-Nov-02 1:15
JazzyJack24-Nov-02 1:15 
GeneralRe: Need help with IIS/ASP Pin
Roger Wright24-Nov-02 16:53
professionalRoger Wright24-Nov-02 16:53 
GeneralIIS failed to release resources? classical ASP+COM Pin
devvvy22-Nov-02 21:30
devvvy22-Nov-02 21:30 
Generalasp and sql server database project Pin
benj222-Nov-02 10:06
benj222-Nov-02 10:06 
Generalasp securing .zip,.doc,.pdf files Pin
dmanoharan22-Nov-02 6:26
dmanoharan22-Nov-02 6:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.