Betygsätt denna artikel :
Den här artikeln var användbar för dig ?
Ja
Nej
Vous avez noté 0 étoile(s)
Procédure
Här följer ett exempel på kod för att skicka ett e-postmeddelande med en bilaga och komponenten SmartMail:
On error resume next Dim mySmartMail Set mySmartMail = Server.CreateObject("aspSmartMail.SmartMail") 'E-postserver mySmartMail.Server = "127.0.0.1" 'Avsändare mySmartMail.SenderName = "Avsändarnamn" mySmartMail.SenderAddress = "expediteur@domaine.com" 'Mottagare mySmartMail.Recipients.Add "destinataire1@2plat.com", "Mottagarnamn1" mySmartMail.Recipients.Add "destinataire2@2plat.com", "Mottagarnamn2" 'Meddelande mySmartMail.Subject = "Test aspSmartMail" mySmartMail.Body = "Detta är ett test av komponenten aspSmartMail." 'Attachment mySmartMail.Attachments.Add ("C:\sample.txt"),, false 'Skicka meddelandet mySmartMail.SendMail 'Felhantering If err.number <> 0 Then response.write("Fel nr. " & err.number - vbobjecterror & " = " & err.description & " ") Else Response.Write "Meddelande skickat med aspSmartMail " Response.Write mySmartMail.Attachments.Item(1).FilePathName End If 'Förstör objektet Set mySmartMail = Nothing
Betygsätt denna artikel :
Den här artikeln var användbar för dig ?
Ja
Nej
Bonjour,
Merci de votre retour.
Toutes ses informations sont disponibles depuis votre panel client.
Voici une documentation qui pourra vous aider à récupérer ces informations : https://aide.lws.fr/a/1283
Je vous remercie de votre attention et reste à votre disposition pour toute autre question ou complément d'information.
Nous vous invitons à contacter notre service support à travers votre espace client, afin de vous apporter une aide si vous rencontrez des difficultés quelconque. (Contacter le support LWS)
Cordialement, L'équipe LWS