Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Asp Code Zum Email Versenden Richtig?...

Empfohlene Antworten

Veröffentlicht

Hallo, ich hab folgenden code geschrieben und weiß nicht ob er richtig ist bzw. ob noch was fehlt.

Also des problem is wenn ich absender und empfänger eingetragen haben und auf absenden drücke dann schauts aus als würde des formular zum server abgschickt werden, welcher ja dann die mail rauschicken sollte aber beim empfänger kommt nix an.

über Hilfe wäre ich sehr froh

<%

if Request.Form.Count>0 then

'Formulardaten auswerten

on error resume next

'Mailobjekt anlegen:

set mail = CreateObject("CDONTS.Newmail")

'Ausfüllen:

mail.from = Request.Form("from")

mail.to = Request.Form("to")

mail.cc = Request.Form("cc")

mail.bcc = Request.Form("bcc")

mail.importance = CLng(Request.Form("importance"))

mail.subject = Request.Form("subject")

mail.body = Request.Form("body")

'Absenden

mail.send

if err.number=0 then

Response.Write"<p><i>E-Mail wurde erfolgreich versendet!</i></p>"

else

Response.Write"<p><i>E-Mail konnte nicht versendet werden!</i></p>"

end if

set mail = Nothing

end if

%>

<form method="POST" enctype="text/plain">

<h4>E-Mail-Versandformular</h4>

<p><input type="text" name="from" size="30"> Ihre Absenderadresse</p>

<p><input type="text" name="to" size="30"> Empfängeradresse(n)</p>

<p><input type="text" name="cc" size="30"> Kopien an folgende Empfänger (Cc)</p>

<p><input type="text" name="bcc" size="30"> versteckte Kopien an folgende Empfänger (Bcc)</p>

<p>Wichtigkeit der Nachricht:</p>

<p><input type="radio" value="0" name="importance">niedrig<br>

<input type="radio" name="importance" value="1" checked>normal<br>

<input type="radio" name="importance" value="2">hoch</p>

<p>Ihre Nachricht:</p>

<p><input type="text" name="subject" size="71"><br>

<textarea rows="7" name="body" cols="75"></textarea></p>

<p><input type="submit" value="Abschicken"><input type="reset" value="Zurücksetzen"></p>

</form>

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.