Den Rückgabewert von mail() in ner Variable speichern. Mail gibt true zurück wenn die Mail verschickt wurde, false wenn nicht. Wobei true nicht auch automatisch heißt das sie wirklich ankommt.
Mail() gibt immer dann True wieder wenn die angegebene Email das richtige Format eben einer Email Adresse hat(). Und wie oben schon geschrieben muss das nicht heißen das es die richtige Email der Person geschweigenden irgendeiner Person ist und auch nicht das die Email da angekommen ist wo sie ankommen sollte, also ist die Prüfung ziemlich sinnlos. Und da ich nicht weiß in welchem Kontext sich dein Code befindet kann ich auch keine alternative Lösung anbieten.
Logische Erklärungen zu PHP Funktionen findest du immer im PHP Manual. Für die mail() Funktion ist das zB diese Seite:
if (@mail($an, $betreff, $comment, "From: $from") === true)
{
echo "Die E-Mail wurde erfolgreich versendet";
}
else
{
echo "Die E-Mail konnten nicht versendet werden";
}
There's no point to send email to EA. 06/30/2013 - Need for Speed World - 12 Replies So, I sent email that I would get my account back and shit and this is their reply:
Terms of Service Correspondence will follow shortly. Regards
Dear Kenter5500,
Product Name: NFSW
Email address: [email protected]
WTS WOTLK *EU* Original - 10€ - Instant send via email 08/27/2011 - World of Warcraft Trading - 0 Replies Hi all,
want to sell WOTLK *EU* version original, bought at gamestop shop (italy), near my house, that failed.
Avaible: 7 keys
Payment via PayPal. You can ask me any kind of information if you don't trust me.
Instant send via Email.
Bye :)
hilfe bei email send tool 11/06/2010 - General Coding - 0 Replies hallo leute (jakefrost)
ich wollte ein email send tool machen jakefrost weis warum das beschwerde tool egal auf jeden fall is da wss falsch es ist in vb geschrieben
bitte um hilfe hier source:Imports System.Net.Mail
Public Class Form1
Public Sub sendmail()
Dim emailmessage As MailMessage = New MailMessage
emailmessage.From = New MailAddress("[email protected]")
emailmessage.To.Add(TextBox2.Text)
How to send an Anonymous Email ! 07/04/2006 - Tutorials - 2 Replies There are several web based utilities that allow this, but each one registers the ip info in the headers which allows tracing. They also
will not allow you to use a proxy and utilize their service. This is for security reasons.
My definition of anonymous includes the email addresses appearing as if they have been sent from whatever address you specify as well
as no accurate record of your IP in the headers of the mail that could be traced back to you.
The method that follows supports my...