Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 11

Discussione: Invio E-mail

  1. #1

    Invio E-mail

    Ciao a Tutti, vorrei sapere come fare per poter creare un modulo che invii una mail prendendo l'indirizzo di destinazione da db... oppure che l'utente possa inserirlo da se...

    Possibilmente in Vbs

    Grazie tante....
    La Gratitudine č la prima cosa nella vita...

    Grazie a tutti

  2. #2
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Cosa non sai fare?
    1) Recuperare i dati da un modulo
    2) Leggere un campo da una tabella di un db
    3) Inviare una email

    Roby

  3. #3
    A me basterebbe avere un testo standard che al comando invia spedisce quel testo ad un indirizzo che gli viene passato dal db...

    mi servirebbe una cosa semplice...

    es: ho un modulo con il campo "testo della Mail" nascosto ed un pulsante invia.... al comando invia manda il testo presente nel campo, all'indirizzo che gli passo come Variabile....

    Quello che non risco a fare č assegnare l'indirizzo alla variabile e spedire...

    č la prima volta che faccio questo... potresti aiutarmi?

    Grazie tante
    La Gratitudine č la prima cosa nella vita...

    Grazie a tutti

  4. #4
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Quale email deve recuperare dal db?
    Potrebbero essercene 100, giusto?

    Roby

  5. #5
    sarą sempre una sola... č una conferma alla registrazione
    La Gratitudine č la prima cosa nella vita...

    Grazie a tutti

  6. #6
    ecco bene siamo in due ^_^
    e nessuno risponde chiaramente neppure a te


  7. #7
    infatti, ma confido in loro
    La Gratitudine č la prima cosa nella vita...

    Grazie a tutti

  8. #8
    Utente di HTML.it L'avatar di wegawhite
    Registrato dal
    Aug 2004
    Messaggi
    1,400
    Non si puņ rispondere chiaramente se le domande non sono del tutto chiare e ben esposte.

    Ti consiglio, prima di tutto, di verificiare quale componente utilizza il tuo server per l'invio delle email con questo script (che si trova con la ricerca e si chiama comchecker):

    codice:
    <html>
    <head>
    <title>Check Components</title>
    </head>
    <body>
    <%
    
    	REM	Project:		COM Checker
    	REM	Creator:		James Lindėn
    	REM	Date:		6/25/2001 12:14am
    
     	'**************************************
    ***************************
    
    	'	COM Checker version 1.0
    	'	© 2001 Ticluse Teknologi, All rights reserved.
    
    	'	This class may be redistributed, as long as copyright and development
    	'	information remain intact with class source code. Bug reports and / or
    	'	comments may be directed to jlinden@intelidev.com.
    
     	'**************************************
    ***************************
    
    	Dim comList(43)
    		comList(0) = Array( "AB Mailer","ABMailer.Mailman" )
    		comList(1) = Array( "ABC Upload","ABCUpload4.XForm" )
    		comList(2) = Array( "ActiveFile","ActiveFile.Post" )
    		comList(3) = Array( "ActiveX Data Object","ADODB.Connection" )
    		comList(4) = Array( "Adiscon SimpleMail","ADISCON.SimpleMail.1" )
    		comList(5) = Array( "ASP HTTP","AspHTTP.Conn" )
    		comList(6) = Array( "ASP Image","AspImage.Image" )
    		comList(7) = Array( "ASP Mail","SMTPsvg.Mailer" )
    		comList(8) = Array( "ASP Simple Upload","ASPSimpleUpload.Upload" )
    		comList(9) = Array( "ASP Smart Cache","aspSmartCache.SmartCache" )
    		comList(10) = Array( "ASP Smart Mail","aspSmartMail.SmartMail" )
    		comList(11) = Array( "ASP Smart Upload","aspSmartUpload.SmartUpload" )
    		comList(12) = Array( "ASP Tear","SOFTWING.ASPtear" )
    		comList(13) = Array( "ASP Thumbnailer","ASPThumbnailer.Thumbnail" )
    		comList(14) = Array( "ASP WhoIs","WhoIs2.WhoIs" )
    		comList(15) = Array( "ASPSoft NT Object","ASPSoft.NT" )
    		comList(16) = Array( "ASPSoft Upload","ASPSoft.Upload" )
    		comList(17) = Array( "CDONTS","CDONTS.NewMail" )
    		comList(18) = Array( "Chestysoft Image","csImageFile.Manage" )
    		comList(19) = Array( "Chestysoft Upload","csASPUpload.Process" )
    		comList(20) = Array( "Dimac JMail","JMail.Message" )
    		comList(21) = Array( "Distinct SMTP","DistinctServerSmtp.SmtpCtrl" )
    		comList(22) = Array( "Dundas Mailer","Dundas.Mailer" )
    		comList(23) = Array( "Dundas Upload","Dundas.Upload.2" )
    		comList(24) = Array( "Dynu Encrypt","Dynu.Encrypt" )
    		comList(25) = Array( "Dynu HTTP","Dynu.HTTP" )
    		comList(26) = Array( "Dynu Mail","Dynu.Email" )
    		comList(27) = Array( "Dynu Upload","Dynu.Upload" )
    		comList(28) = Array( "Dynu WhoIs","Dynu.Whois" )
    		comList(29) = Array( "Easy Mail","EasyMail.SMTP.5" )
    		comList(30) = Array( "File System Object","Scripting.FileSystemObject" )
    		comList(31) = Array( "Ticluse Teknologi HTTP","InteliSource.Online" )
    		comList(32) = Array( "Last Mod","LastMod.FileObj" )
    		comList(33) = Array( "Microsoft XML Engine","Microsoft.XMLDOM" )
    		comList(34) = Array( "Persits ASP JPEG","Persits.Jpeg" )
    		comList(35) = Array( "Persits ASPEmail","Persits.MailSender" )
    		comList(36) = Array( "Persits ASPEncrypt","Persits.CryptoManager" )
    		comList(37) = Array( "Persits File Upload","Persits.Upload.1" )
    		comList(38) = Array( "SMTP Mailer","SmtpMail.SmtpMail.1" )
    		comList(39) = Array( "Soft Artisans File Upload","SoftArtisans.FileUp" )
    		comList(40) = Array( "Image Size", "ImgSize.Check" )
    		comList(41) = Array( "Microsoft XML HTTP", "Microsoft.XMLHTTP" )
    		comList(42) = Array( "Grafici Excel", "OWC.Chart" )
    		comList(43) = Array( "ADODB Stream", "ADODB.Stream" )
    
    	'This function was modified from the work of Rob Risner.
    	'http://www.planetsourcecode.com/xq/ASP/txtCodeId.6731/lngWId.4/qx/vb/scripts/ShowCode.htm
    
    	Function IsAvailable( comIdentity )
    		On Error Resume Next
    		IsAvailable = False
    		Err = 0
    		Set xTestObj = Server.CreateObject( comIdentity )
    		If Err = 0 Then IsAvailable = True
    		Set xTestObj = Nothing
    		Err = 0
    	End Function
    
    	Public Function CheckCOM()
    		Avail = 0
    		strTxt = "<table cellpadding=3 cellspacing=3 border=0 align=center width=300>" & vbNewLine
    		For Idx = LBound( comList ) To UBound( comList )
    			Provider = Idx
    			strTxt = strTxt & vbTab & "<tr><td width=200><font class=norm>" & comList(Idx)(0) & "</font></td>"
    			strTxt = strTxt & "<td align=right width=20><font class=norm>[</font></td>"
    			If IsAvailable( comList(Idx)(1) ) Then
    				strTxt = strTxt & "<td align=center><font face=tahoma size=2 color=blue>Available</font></td>"
    				Avail = Avail + 1
    			Else
    				strTxt = strTxt & "<td align=center><font class=norm>Unavailable</font></td>"
    			End If
    			strTxt = strTxt & "<td align=left width=20><font class=norm>]</font></td></tr>" & vbNewLine
    		Next
    		strTxt = strTxt & vbTab & "<tr><td colspan=4 height=30><font class=norm><font color=blue>" & Avail & "</font> of "
    		strTxt = strTxt & UBound( comList ) + 1 & " supported components are available.</font></td></tr>" & vbNewLine
    		CheckCOM = strTxt & "</table>" & vbNewLine
    	End Function
    
    	Response.Write( CheckCOM() )
    %>
    
    <p align=center>
    	<font class=arial size=2><a href=http://www.intelidev.com/goto.asp?comchecker>COMChecker</a> version 1.1 - by James Lindėn
    © 2001 Ticluse Teknologi, All rights reserved.</font>
    </p>
    </body>
    </html>
    Dopodichč stabilito quale componente devi utilizzare ti sarą risposto di conseguenza.

    Ciao

  9. #9
    mi dice questo:

    AB Mailer [ Unavailable ]
    ABC Upload [ Unavailable ]
    ActiveFile [ Unavailable ]
    ActiveX Data Object [ Available ]
    Adiscon SimpleMail [ Unavailable ]
    ASP HTTP [ Unavailable ]
    ASP Image [ Unavailable ]
    ASP Mail [ Unavailable ]
    ASP Simple Upload [ Unavailable ]
    ASP Smart Cache [ Unavailable ]
    ASP Smart Mail [ Unavailable ]
    ASP Smart Upload [ Unavailable ]
    ASP Tear [ Unavailable ]
    ASP Thumbnailer [ Unavailable ]
    ASP WhoIs [ Unavailable ]
    ASPSoft NT Object [ Unavailable ]
    ASPSoft Upload [ Unavailable ]
    CDONTS [ Unavailable ]
    Chestysoft Image [ Unavailable ]
    Chestysoft Upload [ Unavailable ]
    Dimac JMail [ Unavailable ]
    Distinct SMTP [ Unavailable ]
    Dundas Mailer [ Unavailable ]
    Dundas Upload [ Unavailable ]
    Dynu Encrypt [ Unavailable ]
    Dynu HTTP [ Unavailable ]
    Dynu Mail [ Unavailable ]
    Dynu Upload [ Unavailable ]
    Dynu WhoIs [ Unavailable ]
    Easy Mail [ Unavailable ]
    File System Object [ Available ]
    Ticluse Teknologi HTTP [ Unavailable ]
    Last Mod [ Unavailable ]
    Microsoft XML Engine [ Available ]
    Persits ASP JPEG [ Unavailable ]
    Persits ASPEmail [ Unavailable ]
    Persits ASPEncrypt [ Unavailable ]
    Persits File Upload [ Unavailable ]
    SMTP Mailer [ Unavailable ]
    Soft Artisans File Upload [ Unavailable ]
    Image Size [ Unavailable ]
    Microsoft XML HTTP [ Available ]
    Grafici Excel [ Unavailable ]
    ADODB Stream [ Available ]
    5 of 44 supported components are available.

    COMChecker version 1.1 - by James Lindėn
    © 2001 Ticluse Teknologi, All rights reserved.

    che devo fare?
    La Gratitudine č la prima cosa nella vita...

    Grazie a tutti

  10. #10
    Normalmente uso CDOSYS
    La Gratitudine č la prima cosa nella vita...

    Grazie a tutti

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.