Search found 1664 matches: sendmail

Searched query: +sendmail

Return to advanced search

Re: Mail Function

Nobbie wrote:... Xampp is not suited for email support.

Hi everyone, in my opinion Xampp allows sending emails. I realized some PHP pages on Windows. I only modified sendmail.ini and php.ini files so that Xampp is able to send messages by emails. Now I'ld like make the same on my Mac provided of Catalina OS.Please, someone can help me? :)
by pascal2020
02. February 2020 10:41
 
Forum: XAMPP for macOS
Topic: Mail Function
Replies: 2
Views: 4763

Re: Laufenden SQL-Server in Xampp einbinden

Die PHPMailer Class nimmt es Dir NICHT ab, einen Mailserver anzugeben bzw. einzurichten. Das ist nur die PHP Schnittstelle um einen SMTP Server richtig zu bedienen, weil die einzige PHP "mail" Funktion knackdoof ist und nur rudimentär Emailserver bedienen kann. Entweder richtest Du einen eigenen Mailserver ein (das könnte man theoretisch mit Mercury), das ist aber eine Schweinearbeit und wirklich nicht leicht (und dann werden die Emails von den meisten Großprovidern wie GMX & Co. blockiert, weil sie von einer privaten IP kommen und die SPAM Prävention inzwischen übersensibel ist), oder Du nimmst bei Google oder GMX eine Email und sendest via deren SMTP Server.

Oder (aber da beisst sich die Katze jetzt in den Schwanz) Du besorgst Dir einen kleinen Webspace mit Domain, die kommen auch mit fertig eingerichtetem Emailserver und da kannst Du supereinfach per PHP Emails versenden.... aber die 2-3 Euro im Monat sind Dir ja zu teuer....

Einen eigenen Emailserver zu betreiben und insbesondere einzurichten ist nicht einfach und leider kommt Xampp NICHT mit einem fertigen Setup für Mercury (oder sendmail bzw. postfix unter Linux). Das muss man selbst machen und da habe selbst ich keinen Bock drauf und ich bin wirklich kein Anfänger.
by Nobbie
23. October 2019 13:23
 
Forum: XAMPP für Windows
Topic: Laufenden SQL-Server in Xampp einbinden
Replies: 21
Views: 37529

Bibliotheken fehlen für SSL

Die SSLeay Bibliothek D:\Xampp\perl\vendor\lib\auto\Net\SSLeay\SSLeay.dll braucht die 2 fehlenden Bibliotheken libeay32__.dll und ssleay32__.dll wodurch das Perl Modul LWP::Protocol::https und andere Module nicht funktionieren die diese Bibliotheken brauchen.
Ich habe versucht die libeay32.dll und ssleay32.dll von D:\Xampp\sendmail\ zu verwenden, aber die dort verwendete OpenSSL Version ist 0.9.8 aus dem Jahr 2010 ist daher sehr alt und enthält eine große Menge an Sicherheitslücken und kann auch mit den neune TLS Verfahren nicht umgehen!!
Bitte updated die libeay32.dll und ssleay32.dll in sendmail Verzeichnis und stellt auch die fehlenden libeay32__.dll und ssleay32__.dll für die SSLeay.dll zur Verfügung. Danke!
by PhilippGuehring
09. September 2019 09:45
 
Forum: XAMPP für Windows
Topic: Bibliotheken fehlen für SSL
Replies: 0
Views: 8384

Re: Bug with XAMPP & Postfix Sendmail [Solution]

This worked for me too, thanks!
Here the short version for Xampp under Linux Mint 19.2:
1. mv /opt/lampp/lib/libstdc++.so.6 /opt/lampp/lib/libstdc++.so.6.orig
2. restart Xampp
That's all
by doni
17. August 2019 20:38
 
Forum: XAMPP for Linux
Topic: Bug with XAMPP & Postfix Sendmail [Solution]
Replies: 2
Views: 12397

Re: Email versenden nicht möglich

Da ist nicht so ganz einfach. Du müßtest einen kompletten Email Server installieren (was nicht leicht ist), wenn Du von Deiner eigenen Domain Emails versenden willst. Wenn das außerdem ein lokaler Rechner ist, dann kommen die Emails nicht an, weil die einschlägigen Provider solche Emails privater Server nicht mehr weiterleiten (schon lange nicht mehr), weil das SPAM Aufkommen unerträglich ist.

Sonst müßtest Du das beiliegende sendmail.exe konfigurieren, damit kann man über einen Account bei GMX oder Google oder Yahoo beispielsweise eigene Emails versenden, aber die haben dann NICHT die .tk Domain als Absender. Und es ist auch etwas Gefummel. Ich persönlich empfehle eigentlich immer, einen Webspace zu buchen, das gibt es ab 2,-€ pro Monat, da ist alles fertig vorkonfiguriert und zu Hause sind alleine die Stromkosten schon höher. Ohnehin ist Xampp nicht für den Produktionsbetrieb gedacht, es ist als reine Entwicklungsumgebung konzipiert.
by Nobbie
31. May 2019 12:05
 
Forum: PHP
Topic: Email versenden nicht möglich
Replies: 5
Views: 32363

Re: Send mail on localhost via SMTP

Ready !!
I had have the same problem.
My C:\xampp\sendmail\error.log return
19/05/05 22:15:43 : Username and Password not accepted. Learn more at<EOL> https://support.google.com/mail/?p=BadCredentials c11sm7207485wmb.12 - gsmtp<EOL>
And wikimedia say:
No fue posible enviar el correo de confirmación. Por favor, comprueba la validez de la dirección de correo.
El servidor indicó el error: Error desconocido en la función mail() de PHP.
I have changed the security in my account and now it works.
https://support.google.com/a/answer/6260879?authuser=1
by wowberk
05. May 2019 21:21
 
Forum: XAMPP for Windows
Topic: Send mail on localhost via SMTP
Replies: 4
Views: 8072

Re: sendmail konfiguration

Das ist schon in Ordnung, das hier wird ein kleines Script das mir per E-Mail infos sendet. so 1-2 Mails am Tag. Laufen wird das ganze auf meinem Rechner zu Hause. Das Projekt dauert etwa ein Jahr. vielleicht auch 1,5 Jahre. Dann ist das Geschichte.

Wenn es etwas öffentliches/prof. wäre würde ich mir das genauer ansehen. Dieses Script klopfe ich in einer Stunde rein und dann ist alles erledigt. Länger soll es auch nicht dauern.
by Schattenparker
05. April 2019 10:14
 
Forum: XAMPP für Windows
Topic: sendmail konfiguration
Replies: 4
Views: 7312

Re: sendmail konfiguration

Letztendlich muss jeder selbst wissen, was er benutzten möchte.
PHP-SMTP-Mailer scheint eine Ein-Mann-Entwicklung zu sein die zudem kaum gewartet oder Weiterentwickelt wurde seit dessen Erstellung.
Wie lange du daran Freude haben wirst kann ich dir nicht sagen. Aus Erfahrung würde ich da aber ein großes Fragezeichen sehen.
by Altrea
05. April 2019 09:56
 
Forum: XAMPP für Windows
Topic: sendmail konfiguration
Replies: 4
Views: 7312

Re: sendmail konfiguration

Danke für den Link. PHPMailer macht mich fertig, unnötig kompliziert.

Das habe ich gefunden: SMTP Mailer -> https://github.com/halojoy/PHP-SMTP-Mailer

Keine 2 Minuten nach dem herunterladen kam das Test Mail an. Super :) jetzt kann ich starten.
by Schattenparker
05. April 2019 07:10
 
Forum: XAMPP für Windows
Topic: sendmail konfiguration
Replies: 4
Views: 7312

Re: sendmail konfiguration

Hallo,

Es ist schwer bis unmöglich dir einen Ratschlag zu geben, wenn wir kein vernünftiges Error Handling sehen.
Hast du mal versucht mit error_get_last() den letzten Fehler auszugeben?

Ich würde aber raten, eine fähige Mailer Klasse zu verwenden statt sendmail/mail(), zum Beispiel PHPMailer. Die sind deutlich robuster und konsistenter.

mit freundlichen Grüßen,
Altrea
by Altrea
05. April 2019 06:18
 
Forum: XAMPP für Windows
Topic: sendmail konfiguration
Replies: 4
Views: 7312

sendmail konfiguration

Guten Morgen,

da ich im englischsprachigen Forum keine Antwort mehr bekommen habe versuche ich es nochmal hier.

GEstern habe ich die neueste Xampp Version installiert, auf Windows10. Ich scheitere an der konfiguration von sendmail. Nicht zum ersten mal, ich habe es in den letzten Jahren schon nicht geschafft das zum Laufen zu bekommen. Diesmal wäre es mir aber wichtig.

Hier die Konfig:

PHP.INI
Code: Select all
[mail function]
; For Win32 only.
; http://php.net/smtp
;SMTP=smtp.gmail.com
; http://php.net/smtp-port
;smtp_port=587

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = raspma1701@gmail.com
sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail().
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
;mail.add_x_header=Off

; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =
; Log mail to syslog (Event Log on Windows).
;mail.log = syslog
;mail.log = "C:\xampp\php\logs\php_mail.log"
;mail.log = "\xampp\apache\logs\php_mail.log"


SENDMAIL.INI
Code: Select all
smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
auth_username=xxxxx@gmail.com
auth_password=xxxxx
force_sender=xxxxx@gmail.com


PHP
Code: Select all
$subject = "Unsere erste E-Mail";
$to = "email@email.xyz";
$body = "send this email";
if( mail($to, $subject, $body) ) {
echo "ok";
} else {
echo "not ok";
}


In der php.ini ist so ziemlich alles auskommentiert. Ich bin verschiedenen Anleitungen gefolgt die sich alle in einzelnen Details unterscheiden.
Wie lautet die korrekte Konfiguration so, dass es auch funktioniert?

Vielen Dank.
by Schattenparker
05. April 2019 05:55
 
Forum: XAMPP für Windows
Topic: sendmail konfiguration
Replies: 4
Views: 7312

Re: Send mail on localhost via SMTP

I am sorry, i did a copy mistake.

this is the correct sendmail.ini
smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
auth_username=xxxxx@gmail.com
auth_password=xxxxx
force_sender=xxxxx@gmail.com


I tried different instructions, i dont really know whats correct in the php.ini
by Schattenparker
04. April 2019 13:32
 
Forum: XAMPP for Windows
Topic: Send mail on localhost via SMTP
Replies: 4
Views: 8072

Send mail on localhost via SMTP

I have the same problem. I cant send emails.
Here is my config:

php.ini
[mail function]
; For Win32 only.
; http://php.net/smtp
;SMTP=smtp.gmail.com
; http://php.net/smtp-port
;smtp_port=587

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = raspma1701@gmail.com
sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail().
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
;mail.add_x_header=Off

; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =
; Log mail to syslog (Event Log on Windows).
;mail.log = syslog
;mail.log = "C:\xampp\php\logs\php_mail.log"
;mail.log = "\xampp\apache\logs\php_mail.log"


sendmail.ini
mtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
auth_username=myemail@gmail.com
auth_password=mypassword
force_sender=myemail@gmail.com


the script:
Code: Select all
$subject = "Unsere erste E-Mail";
$to = "email@email.xyz";
$body = "send this email";
if( mail($to, $subject, $body) ) {
echo "ok";
} else {
echo "not ok";
}


I dont even get an error message. yes, error_reporting is on.

Xampp 7.3.3 on Windows 10

Whats wrong with the configuration?
by Schattenparker
04. April 2019 10:22
 
Forum: XAMPP for Windows
Topic: Send mail on localhost via SMTP
Replies: 4
Views: 8072

sendmail folder is missing

Hi, I am trying to get mail function working on php with gmail smtp, and I am required to change the sendmail.ini settings. However, the file or the folder sendmaill does not exist. I have already changed the php.ini file to accommodate the use of the gmail smtp. Is there a place where i can just download the sendmail folder? Or if you would like to troubleshoot my problem, I can provide ss of both my file explorer and the php.ini file if needed. Using xampp version 7.3.1. Thanks!
by Codiene
27. March 2019 20:31
 
Forum: XAMPP for Windows
Topic: sendmail folder is missing
Replies: 0
Views: 3685
PreviousNext

Return to advanced search