DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • December 15, 2018, 05:22:26 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Mailprobleme  (Read 551 times)
0 Members and 1 Guest are viewing this topic.
namta
Member

Offline Offline

Posts: 2


View Profile
« on: December 28, 2017, 06:51:17 PM »

Hi,
wie kann ich:
1. logd davon berzeugen meinen smtp-server zum mails versenden zu nutzen
2. die Texte der Verifizierungsmail anpassen

es wird hier sicherlich irgendwo stehen, aber trotz suche finde ich nichts.

danke fr Hilfe
Namta.
Logged
Nightborn
Captain of the Guard
***
Offline Offline

Posts: 216


View Profile WWW
« Reply #1 on: December 29, 2017, 03:25:21 AM »

Hi,

1. das wird in PHP eingestellt, nicht lotgd. out-of-the-box ist das localhost. schau deine php.ini am  besten an (apache konfiguration)
2. create.php... eine Textsuche wrde ich immer probieren, die hilft enorm schnell.

if ($emailverification!=""){
                     $subj = translate_mail("LoGD Account Verification",0);
                      $msg = translate_mail(array("Login name: %s `n`nIn order to verify your account, you will need to click on the link below.`n`n http://%s?op=val&id=%s `n`nThanks for playing!",$shortname,
                        ($_SERVER['SERVER_NAME'].($_SERVER['SERVER_PORT'] == 80?"":":".$_SERVER['SERVER_PORT']).$_SERVER['SCRIPT_NAME']),
                        $emailverification),
                        0);
                     mail($email,$subj,str_replace("`n","\n",$msg),"From: ".getsetting("gameadminemail","postmaster@localhost.com"));
                     output("`4An email was sent to `\$%s`4 to validate your address.  Click the link in the email to activate your account.`0`n`n", $email);
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
85 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search