Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
tangoman
Involved
Involved



Joined: Aug 06, 2005
Posts: 301

PostPosted: Sat Aug 13, 2005 1:41 pm Reply with quote

I am running 7.6 with patch 3.0....(Yes Raven!...I do think the whole world now knows this...But it doesn't hurt to mention the fact so others can relate to it easily).

When I send a Newsletter, it is received marked with 'LOW PRIORITY'.

How do you change this to 'NO PRIORITY', or 'HIGH PRIORITY'?


Last edited by tangoman on Sun Aug 14, 2005 2:43 am; edited 3 times in total 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat Aug 13, 2005 2:59 pm Reply with quote

Did Yahoo straighten out their email issues?

You'll need to modify the admin/modules/newsletter.php to include something like this:
Code:
       $header.="From: $from\nX-Priority:  6\nCC: $cc\n";


Actually, look Only registered users can see links on this board! Get registered or login! for details on adding HTML to a newsletter - if you look closely, you'll notice how to change the priority.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
tangoman







PostPosted: Sat Aug 13, 2005 7:57 pm Reply with quote

Yes Kevin!...I have yet to receive notification from the F*$#@rs, but before I shut my PC for the night, I decided to send mysef a test Newsletter just in case the problem had be delt with and the e-mail I sent was received.

I know from past experience that once a probelm is hightlighted by me and subsequently rectified by 'Yahoo!', it can take at least an hour after the problem has been resolved, before they mail you and advise you that a pronblem was found and delt with.

When the PHP-NUke e-mail proved to send sucessfull, I then sent a test PHP mail using the code I was given yesterday, (by another very helpful forum member), and this also worked.

I will save that code so that the next time I get such a problem, the first thing I will do is run it to establish if the PHP functionality on the server is working OK!

I have a hangover as I send this reply, so I will apply your code tomorrow.

Thanks again for your wonderful knowledge and help.
 
tangoman







PostPosted: Sun Aug 14, 2005 2:41 am Reply with quote

Hi again Kevin,

I see the sort of code you refered to in your last post, (stamped 'Sun Aug 14, 2005 6:59 am').

However can you 'break it down' for me and identify which specific part of the code determins the priority and what the variables/options are? If the options are many, I am simply interested to know how to change notification to either HIGH or NO priority.

Thanks in advance.
 
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sun Aug 14, 2005 10:50 am Reply with quote

If I understand correctly
$xheaders .= "X-Priority: 6\n"; // Urgent message!
The 6 is equivilent to bulk mail no priority at all. 1 or 2 would be high so on and so on...

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
tangoman







PostPosted: Sun Aug 14, 2005 6:46 pm Reply with quote

Kevin,

I note that by changing the number 6 in the code, the following occures:

Use Number 1: The mail is stamped as High Priority
Use Number 2: The mail is stamped as High Priority
Use Number 3: The mail is NOT stamped with any Priority
Use Number 4: The mail is stamped as Low Priority
Use Number 5: The mail is stamped as Low Priority
Use Number 6: The mail is stamped as Low Priority


So now the questions are:

What is the difference between using 1 & 2?

What is the difference between using 4, 5 & 6?
 
kguske







PostPosted: Sun Aug 14, 2005 7:03 pm Reply with quote

Not sure if there is any difference, depending on the sending and receiving mail server.

1 = Highest
2 = High
3 = Normal
4 = Low
5 = Lowest

A quick seach on X-Priority via Google turned up Only registered users can see links on this board! Get registered or login!:
Quote:
Well, if you open the horse's mouth, and look at the teeth, you'll note that there are two commonly used headers: X-MS-Priority: and X-Priority: . The former was of course invented by MS. The latter was invented much earlier, when mail actually went from one machine to another to get cross-country, sometimes on dial-up uucp links. And it was intended to priortize the transmission of mail, therefore more for the use of the MTA's than the users. In particular, X-Priority: 5 was used to indicate mail that had long lead times (like announcing a conference 6 months in advance). This mail could obviously be saved until the wee hours of the morning, when long-distance calls were cheaper. X-Priority: 1 was intended for extremely urgent mail, usually having to do with network conditions, and generally sent between sysadmins. The net was so different then, no one would dream of setting a bogus priority that was inappropriate for the real urgency of a message. And they aren't really NON-standard. All headers beginning with "X-" are allowed specifically by the standard, with the usage and semantics to be agreed upon by the community involved. That's why when MS wanted a *user-to-user* indicator of priority, they avoided the earlier X-Priority: header and set up a distinct one for their own "community" of Outlook users.


Be aware that some mail servers now treat mail with priority headers as spam...
 
tangoman







PostPosted: Sun Aug 14, 2005 7:08 pm Reply with quote

If a user has a senders e-mail address in their 'allow' list for e-mail, would a message with a header still be treated as spam or is it guaranteed to reach the recipients in box because it is listed in the 'allow list'?
 
kguske







PostPosted: Sun Aug 14, 2005 7:17 pm Reply with quote

Well, that's a loaded question... It depends on the spam tools being used on the receiving server and, if downloaded to a mail client, the spam tools being used on the client PC, if any.

I guess the question I would ask is: what is the value or need in sending a high priority newsletter? With broadband, most email is received pretty quickly anyway.
 
tangoman







PostPosted: Sun Aug 14, 2005 7:52 pm Reply with quote

Understood....I was thinking of 'priority' as how important the subject matter and content of the mail is to the recipient, rather than priority over other web traffic etc.

I understand now.

Thanks once again.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©