13. maj 2003 - 20:33Der er
28 kommentarer og 1 løsning
ændring af skrift-type og underline i email
Jeg har lige et lille spørgsmål. Hvordan ændre man til en anden skrift-type eller laver underline i en email form.
<%
'Mail til A-Team-Data & Bruger
body = body & "Fakturanr.:" &" "& request("Faktura") & vbCrlf & vbCrlf body = body & request("Navn") & vbCrlf body = body & request("Adresse") & vbCrlf body = body & request("Postnr") &" "& request("By") & vbCrlf body = body & "Tlfnr.:" &" "& request("Tlfnr") & vbCrlf & vbCrlf body = body & request("Email") & vbCrlf & vbCrlf body = body & "Beskrivelse af fejl.:" & vbCrlf body = body & request("Fejlbeskrivelse") & vbCrlf & vbCrlf body = body & "Hvordan finder vi fejlen.:" & vbCrlf body = body & request("Fejl") & vbCrlf & vbCrlf body = body & "Hvordan har du konstateret fejlen" & vbCrlf body = body & request("Konstaterefejl") & vbCrlf & vbCrlf
Det jeg gerne vil have lavet om er f.eks denne - body = body & "Hvordan finder vi fejlen.:" & vbCrlf
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
vraa >> body = body & "<span style=""font-family: verdana, tahoma, arial; font-size: 9px; text-decoration: underline;"">Hvordan finder vi fejlen.:</span>" & vbCrlf
body = body & "<span style=""font-family: verdana, tahoma, arial; font-size: 9px; text-decoration: underline;"">Hvordan finder vi fejlen.:</span>" & vbCrlf
prøv sådan her IF not msg.Send("mail.domæne.com") THEN response.write "mangler info til at afsende emails" ELSE Response.write "Message sent succesfully!" END IF
mm12010 -- det komemr jo ligsom anpå om han bruger JMail.Message eller JMail.SMTPMail ik ---------- sådan plejer jeg at gøre det ...
set JMail = Server.CreateOBject( "JMail.Message" ) JMail.ContentType = "text/html" JMail.From = "mail@mail.dk" JMail.AddRecipient "webmaster@dotk.dk" JMail.AddRecipient Request("Email") JMail.Subject = "Tilmelding af Mail" JMail.Body = body JMail.Priority = 3 IF not JMail.Send("mail.domæne.com") THEN response.write "mangler info til at afsende emails" ELSE Response.write "Message sent succesfully!" END IF Set JMail = Nothing
body = body & "Fakturanr.:" &" "& request("Faktura") & vbCrlf & vbCrlf body = body & request("Navn") & vbCrlf body = body & request("Adresse") & vbCrlf body = body & request("Postnr") &" "& request("By") & vbCrlf body = body & "Tlfnr.:" &" "& request("Tlfnr") & vbCrlf & vbCrlf body = body & request("Email") & vbCrlf & vbCrlf body = body & "Beskrivelse af fejl.:" & vbCrlf body = body & request("Fejlbeskrivelse") & vbCrlf & vbCrlf body = body & "<span style=""font-family: verdana, tahoma, arial; font-size: 9px; text-decoration: underline;"">Hvordan finder vi fejlen.:</span>" & vbCrlf body = body & request("Fejl") & vbCrlf & vbCrlf body = body & "Hvordan har du konstateret fejlen" & vbCrlf body = body & request("Konstaterefejl") & vbCrlf & vbCrlf body = body & "Produkt.:" &" "& request("Varebeskrivelse") &" "& request("Varenr") & vbCrlf
'Selve mail delen
set JMail = Server.CreateObject("JMail.SMTPMail") JMail.ContentType = "text/html" JMail.ServerAddress = "mail.dotk.dk" JMail.Sender = Request("Email") JMail.AddRecipient "webmaster@dotk.dk" JMail.AddRecipient Request("Email") JMail.Subject = "Tilmelding af Mail" JMail.Body = body JMail.Priority = 3 JMail.Execute Set JMail = Nothing
body = body & "Fakturanr.:" &" "& request("Faktura") & "<br><br>" body = body & request("Navn") & "<br>" body = body & request("Adresse") & "<br>" body = body & request("Postnr") &" "& request("By") & "<br>" body = body & "Tlfnr.:" &" "& request("Tlfnr") & "<br><br>" body = body & request("Email") "<br><br>" body = body & "Beskrivelse af fejl.:" & "<br>" body = body & request("Fejlbeskrivelse") & "<br><br>" body = body & "<span style=""font-family: verdana, tahoma, arial; font-size: 9px; text-decoration: underline;"">Hvordan finder vi fejlen.:</span><br>" body = body & request("Fejl") & "<br><br>" body = body & "Hvordan har du konstateret fejlen" & "<br>" body = body & request("Konstaterefejl") & "<br><br>" body = body & "Produkt.:" &" "& request("Varebeskrivelse") &" "& request("Varenr") & "<br>"
body = body & "<a href=""mailto:" & request("Email") & "">" & request("Email") & "</a><br><br>"
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.