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.

php mail() problem

Empfohlene Antworten

Veröffentlicht

hi leute,

ich habe folgendes php - script:


$reciever = "nobody@nowhere.no";
$subject = "betreff";
$message = "meine nachricht";

mail($reciever, $subject, $message);
[/PHP]

meine php.ini:

[code] [mail function] ; For Win32 only. ;SMTP = localhost default SMTP = smtp.verio.de [/code]

in meiner php.ini hab ich die fehlermeldungen auch angeschalten.

so er bringt mir keine fehlermeldung, aber schickt mir auch keine mail.

was ist daran falsch?:confused:

danke korea1

hi,

hab grad festgestellt, dass es auf meinem server funktioniert, aber lokal mit meinem apache nicht.

weiss da einer weiter?

es wäre sehr hilfreich, wenn dass auch lokal funktionieren würde, sonst muss ich immer einen stock tiefer zum testen :)

danke korea1

Original geschrieben von korea1

hi,

hab grad festgestellt, dass es auf meinem server funktioniert, aber lokal mit meinem apache nicht.

das verstehe ich zwar nicht :D was ist "meinem server" ? ,

aber hej kann das sein sein das dein SMTP server eine authentifizirung braucht ??

also das du dich am Mail Server zuerst anmelden muss wenn ein email versenden willst ?? das problem hatte ich auch mal

nur so eine idee

vielleicht hängt auch eine Firewall irgendwo dazwischen, den den SMTP-Transfer von diesem Server aus blockiert!

Du wirst bei dir lokal höchstwarscheinlich keinen Mail-Server installiert haben (würde mich zumindest sehr stark wundern, wenn doch.....) und mit Win arbeiten (wenn nicht, würde mich das noch mehr wundern wie die Sache mit dem Mail-Server ;o) ).

von http://de3.php.net/manual/de/ref.mail.php :

For Windows users, you can likely set the SMTP directive in the php.ini configuration file to your isp's SMTP mail server - the same as you use for outgoing mail in your email client (Eudora, Outlook, etc.) . However, check with your ISP before doing this!

eg

SMTP = mail.your_isp.com

Vielleicht mal mit JoHu reden oder einfach mich anrufen ;o)

Gruß,

DSW

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.