Hello
I have a page thats display reports
my requirements is after display of records send mail this reports to mail id selected from table click on mail
and other is to save this reports to .xls file
thanks
All email requires a "from" address. So does your webserver have an email server you can utilize to send the mail from? An alias email you can use?
What have you tried so far? Have you gotten any error messages?
You will need to either use File System Object to write to excel, or set up your database itself to do the export rather then do it in run time code.
-
<%
-
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=”Whatever you need.”
-
Mail.Send
-
Set Mail=nothing
-
%>
-
-
-