/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
The Body of mails is death! :(
Fra : Mimmo


Dato : 19-03-02 11:21

Why the body of mine mails it is cancelled after 10-15 minuteren?

My code is:
Public Function SendMail(vSMTPServer As Variant, _
vMittente As Variant, _
vDestinatario As Variant, _
vOggetto As Variant, _
vCorpo As Variant, _
vHTML As Variant)

Dim iMsg As New CDO.Message
Dim iConf As New CDO.Configuration

Dim Flds As ADODB.Fields
Set Flds = iConf.Fields

With Flds

.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = vSMTPServer
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPAuthenticate) = cdoAnonymous
.Update

End With

With iMsg
Set .Configuration = iConf
.From = vMittente
.To = vDestinatario
.Subject = vOggetto
.TextBody = vCorpo
.HTMLBody = vHTML
.Send
End With

End Function


Please help me!
Mimmo





 
 
Søg
Reklame
Statistik
Spørgsmål : 177560
Tips : 31968
Nyheder : 719565
Indlæg : 6408952
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste