Skip to content

Instantly share code, notes, and snippets.

View gmmedia's full-sized avatar

Jochen Gererstorfer gmmedia

View GitHub Profile
@gmmedia
gmmedia / PHP Mailer Configuration for WordPress.php
Created November 29, 2022 20:28 — forked from nextab/PHP Mailer Configuration for WordPress.php
Just define the globals in wp-config.php and add the code snippet in your functions.php to send e-mails via SMTP instead of the regular php mailer.
Folgenden Code unter übliche wp-config-.php-Befehle einfügen: (Auf All-Inkl angewandt - andere Host-Daten müssten dementsprechend angepasst werden...)
define( 'SMTP_USER', 'm05f2ew1' ); // Postfach-Benutzer
define( 'SMTP_PASS', 't3stpwd' ); // Postfach-Passwort
define( 'SMTP_HOST', 'w01c1234.kasserver.com' ); // Postein- und Ausgangsserver
define( 'SMTP_FROM', 'mail@example.com' ); // Gewünschte E-Mail-Adresse zum Versenden
define( 'SMTP_NAME', 'Example Website' ); // Webseiten-Name
define( 'SMTP_PORT', '465' ); // SMTP-Port - häufig 465 oder 587 (auch 25, aber unsicher)
define( 'SMTP_SECURE', 'ssl' ); // Verschlüsselungstyp (auch tls möglich)
define( 'SMTP_AUTH', true ); // SMTP-Authentifikation
@gmmedia
gmmedia / AutoHotkey.ahk
Last active August 27, 2019 17:55
Deutsche Anführungszeichen unter Windows mit AutoHotkey
; Vollständiger Artikel auf https://j0e.org/forum/thread/anfuehrungszeichen/
; Deutsche Anführungszeichen unten und oben -> auf ALT+1 und Alt+2
!1::Send „ ; Alt+1 anstatt Alt+0132
!2::Send “ ; Alt+2 anstatt Alt+0147
; Französische Anführungszeichen, Chevrons oder Guillemets -> auf ALT+3 und Alt+4
!3::Send » ; Alt+3 anstatt Alt+0187
!4::Send « ; Alt+4 anstatt Alt+0171