Jump to content
MakeWebGames

Few Adjustments to Mail


Uridium

Recommended Posts

NOTE NONE OF THIS CODE HAS BEEN TESTED BUT SHOULD WORK

find the following in mail.tpl.php 

public $mailForm = '

then find inside $mailForm

<input name="subject" class="form-control" placeholder="Subject" value="{#if subject}RE: {subject}{/if}" / >

replace with 

<input name="subject" class="form-control" placeholder="Subject" value="{#if subject}{subject}{/if}" / >

then find the following method in mail.inc.php

public function method_reply() {

find this line inside the above method

 if (!$error) {

add this below 

$this->methodData->subject = (strpos($this->methodData->subject, 'RE:') !== false ? $this->methodData->subject : 'RE: '. $this->methodData->subject);

@Canjucks @Uridium

Edited by URBANZ
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...