YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
Email line spacing (Read 3,020 times)
 Jul 15th, 2009 at 1:37am
There are no actions to perform.  

Corey Chapman 
YaBB Administrator
*****
Offline
Posts: 10,015
Rock Hill, South Carolina


YaBB 2.5
Email line spacing
If you send an email to users from the Admin Center, the email has extra line breaks in it. For example, I sent 3 paragraphs, each with a blank line in between.  The resulting email sent had 3 blank lines between them.
 
...
722568493  
IP Logged  
 Reply #1 - Jul 17th, 2009 at 1:26pm
There are no actions to perform.  

deti 
Legacy Dev Team
Development Team
****
Offline
Posts: 2,650
Prien am Chiemsee, Germany


None
Re: Email line spacing
Matt,

please replace this in SVN/.../Admin/MailMembers.pl, then move this thread to "Y3 Fixed". Thanks!

Code Select All
sub Mailing2 {
	if ($iamguest) { &fatal_error('no_access'); }
	if (!$FORM{'mailsend'} && !$FORM{'convert'}) { &fatal_error('no_access'); }
	@convlist = ();
	if ($FORM{'mailsend'} && $FORM{'emailtext'} ne '') {
		$FORM{'emailsubject'} =~ s~\|~|~g;
		$FORM{'emailtext'} =~ s~\|~|~g;
		$FORM{'emailtext'} =~ s~\r~~g;
		$mailline = qq~$date|$FORM{'emailsubject'}|$FORM{'emailtext'}|$username~;
		&MailList($mailline);
	}
	(@mailgroups) = split(/\, /, $FORM{'field1'});
	&ManageMemberinfo("load");
	$i = 0;
	my ($emailsubject,$emailtext);
	foreach my $user (keys %memberinf) {
		(undef, $memrealname, $mememail, $memposition, $memposts, $memaddgrp, undef) = split(/\|/, $memberinf{$user}, 7);
		&FromHTML($memrealname);

		if ($FORM{'mailsend'} && $FORM{'emailtext'} ne '') {
			$emailsubject = $FORM{'emailsubject'};
			$emailsubject =~ s~\[name\]~$memrealname~ig;
			$emailsubject =~ s~\[username\]~$user~ig;
			$emailtext = $FORM{'emailtext'};
			$emailtext =~ s~\[name\]~$memrealname~ig;
			$emailtext =~ s~\[username\]~$user~ig;
		} 

 
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
WWW  
IP Logged  
 Reply #2 - Jul 17th, 2009 at 3:17pm
There are no actions to perform.  

Corey Chapman 
YaBB Administrator
*****
Offline
Posts: 10,015
Rock Hill, South Carolina


YaBB 2.5
Re: Email line spacing
Is it fixed in CVS too?
 
...
722568493  
IP Logged  
 Reply #3 - Jul 18th, 2009 at 6:51pm
There are no actions to perform.  

Jet Li 
Legacy Dev Team
Development Team
****
Offline
Posts: 6,588
Hong Kong


None
Re: Email line spacing
Done.

New
Admin/MailMembers.pl
in SVN.
 
...
PM me for YaBB Installation Service
WWW Jet Li 100000788351637  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.