<%@ Language=VBScript%> <% mes = "" IsSuccess = false sTo = "melanie.trepos@wanadoo.fr" sFrom = Trim(Request.Form("txtFrom")) sSubject = Trim(Request.Form("txtSubject")) sMailServer = "127.0.0.1" sBody = Trim(Request.Form("txtBody")) if Request("__action")="TestEMail" then TestEMail() end if Sub TestEMail() Set objMail = Server.CreateObject("CDO.Message") Set objConf = Server.CreateObject("CDO.Configuration") Set objFields = objConf.Fields With objFields .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = sMailServer .Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10 .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 .Update End With With objMail Set .Configuration = objConf .From = sFrom .To = sTo .Subject = sSubject .TextBody = sBody End With Err.Clear on error resume next objMail.Send if len(Err.Description) = 0 then mes = " Message sent to " + sTo mes = mes + " TESTS COMPLETED SUCCESSFULLY!" IsSuccess = true else mes = " " + Err.Description + " TESTS FAILED!" end if Set objFields = Nothing Set objConf = Nothing Set objMail = Nothing End sub Sub Alert(html) if IsSuccess then Response.Write "
Success:" & html & "
" else Response.Write "
Fail:" & html & "
" end if End Sub %> ASP test page.
                                                           
Mises à jour

INDEX

PRESENTATION

About Roz de Kerhas

LE SCHIPPERKE

Standard, entretien, généralitésachat-conseils

NOS MALES

NOS FEMELLES

 Ils sont d'ici

Born here

CHIOTS

 

PUPPIES

PROJETS de naissances

Archives

DISTINCTIONS

CONTACT

 

Roz de Kerhas

LIENS

 

LINKS

Schipperke PHOTOS

GALERIE

Notre livre d'Or

Guest book

 

" Elevage canin familial des schipperkes du roz de kerhas"

 

 

Dernières naissances

Contactez nous

Contact Hébergeur

Contact Roz de Kerhas

 

 

 

Home >
ASP possibilities test page

This page allows you to test the mail sending through the local Plesk SMTP mail server. For this you need to supply the sender's e-mail address, message's subject and body.

<% if len(mes) > 0 then Alert(mes) end if %>
Test send mail

Test
This page is autogenerated by Plesk

Les schipperkes du Roz de Kerhas vous remercient pour tout l'intérêt que vous avez porté à cette page, bonne continuation...

 Si le site vous a plu laissez un petit message dans notre livre d'Or, cela nous fera le plus grand plaisir.

Mises à jour

INDEX

PRESENTATION

About Roz de Kerhas

LE SCHIPPERKE

Standard, entretien, généralités, conseils.

 

NOS MALES

NOS FEMELLES

 Ils sont d'ici

Born here

CHIOTS

 

PUPPIES

PROJETS de naissances

Archives

DISTINCTIONS

CONTACT

 

Roz de Kerhas

LIENS

 

LINKS

Schipperke PHOTOS

Album

Notre livre d'Or

Guest book

The schipperkes of Roz de Kerhas thank you for all the interest which you carried in this page, good continuation…

If you liked the website leave us a small message in our Guest book, that will make us the greatest pleasure.

© Les photos et le contenu de ce site sont la propriété exclusive de l'élevage familial Du Roz de Kerhas. Eleveur N°290164. Certificat de capacité N°29-232. Actif au répertoire SIRENE. Reproduction interdite - licence Créative Commons Paternité-2.0 France
Contents & pics copyright
©Roz de Kerhas. licence Créative Commons Paternité-2.0 France

<Creative Commons License
Roz de kerhas by Extrait du site Les schipperkes du roz de Kerhas est mis à disposition selon les termes de la licence Creative Commons Paternité-Pas d'Utilisation Commerciale-Pas de Modification 2.0 France.< > >

<>