Hallo Zusammen,
ich möchte meine Mails per Cron (Aufgabe) versenden und erhalte folgenden Fehler
"send_emails.php is not allowed to run through the Webserver"
Hier meine php.ini
...
[mail function]
; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
SMTP = servername
smtp_port = 25
...
hier meine config_defaults_inc.php
...
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'servername';
$g_smtp_port = 25;
$g_email_send_using_cronjob = ON;
...
Wenn ich die Mails nicht als Cronjob laufen lasse (also $g_email_send_using_cronjob = OFF;) dann bekomme ich Mails.
Hier meine Serverconfig
Windows Server 2008 R2
XAMP v3.1.0 (Apache)
Weis einer Rat ???
Viele Grüße
Andreas
SMTP Mail per Cron
Moderators: Developer, Contributor