vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Changing and Customizing the "From" line in sent emails (https://vborg.vbsupport.ru/showthread.php?t=95418)

Khashyar 09-01-2005 03:13 AM

Changing and Customizing the "From" line in sent emails
 
Hi Everyone,

I have a long forum title, and that long title is sent as the "from" line in emails sent to my forum members.

I don't want to change my email title, so what code or file (or better yet, template) do I need to change so that I can choose a custom email "from" line without changing my BB title name.

Would I need to change the mail.php file?

If so, any idea where?

Thanks for your help,

Khashyar

Princeton 09-01-2005 01:36 PM

modify the x_mailer phrase

if you are sending email via the admincp/USERS/SEND EMAIL interface leave the FROM line empty

Khashyar 09-01-2005 08:36 PM

Thank you very much, princeton.

I received a comment that since my forum title was very long, that it looked akward with such a long name on the email from name.

I will try to make that change now.

Is there any way to add a custom replacement value for the forum board title?

Khashyar

Hi princeton,

I tried to modify the VALUE of the x_mailer phrase, and it did not affect the "From" line of the email.

Perhaps I misunderstood...

Is there some .php code that I should change that includes the x_mailer phrase?

Khashyar

Princeton 09-01-2005 09:30 PM

default 'x_mailer' phrase is
Code:

{1} Forums
{1} will be replaced with bbtitle; so, if your title is 'RUSSIAN MEETING PLACE' the FROM field will look like RUSSIAN MEETING PLACE Forums.

If you don't want it to look like
Code:

RUSSIAN MEETING PLACE Forums
than replace
Code:

{1} Forums
with
Code:

RM Place

Khashyar 09-01-2005 10:41 PM

Thanks for the help, Princeton.

I thought that I did replace the {1} with Russian Meeting Place, and it didn't seem to work.

Perhaps I sent myself a test email before I made the change (without refreshing the send email page).

I'll try again.

Thanks,

Khashyar

Hi princeton,

I checked, and the x_mailer value is "Russian Meeting Place," but when I send an email to myself via the board, the from line still includes the entire forum title.

Any other ideas?

Khashyar


All times are GMT. The time now is 09:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00978 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete