[Solved] Mass EMAIL

Official announcements

[Solved] Mass EMAIL

Unread postby chukillz » Tue Jan 24, 2012 7:21 pm

ok how does this sound?

In the following example i will use my Instant Messenger because i am cool like that :P so all you have to do is put your self in to my shoes and follow along :P


The PROBLEM

You have been working on your instant messenger working on an easy way for the users to download the client. You get it into the installer (Install Creator Pro is the software we will use for this. It is easy to use and you are able to do ALOT with it) and then you start to tell people abotu your instant messenger.

You get a few people to sign up and then you realise that you need some sort of easy way for the user to open the instant messenger with out having to search for the file (i have it so that it will go into Program Files)

You go through and add that into your installer program and then give it out to people.

But what if you do an update and people dont know about it and they dont go back to your site because they think that it is not complete yet. What should you do?

You could try to go into the server panel and send out a message to ALL USERS (as shown in the demo here http://www.theuds.com/intramessenger/ad ... p?lang=EN& )

But wait!! In order for the user to get these messages, they would have to first login. if they login they will see that they need to update.

So what to do now?

The SOLUTION

Make a Mass Email page. This will allow you to write a message and send it to all users that have signed up to your server at one time.

That way i can tell all of my users about the update and changelogs and other important news that would be better sent by email instead.
chukillz
 
Posts: 27
Joined: Wed Jan 04, 2012 10:34 pm

Re: Mass EMAIL

Unread postby THeUDS » Fri Jan 27, 2012 4:31 pm

I not sure to understand.
I think you read already /doc/en/how_to_update_clients.html.
So you want to send email to all registered users (with email in profile).

chukillz wrote:You could try to go into the server panel and send out a message to ALL USERS (as shown in the demo here http://www.theuds.com/intramessenger/ad ... p?lang=EN& )

Make a Mass Email page. This will allow you to write a message and send it to all users that have signed up to your server at one time.

So you want something like in ACP the "Send admin alert"
but to send email instead of instant message.


It's look like a great idea...
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: Mass EMAIL

Unread postby THeUDS » Fri Jan 27, 2012 6:51 pm

Can you download this,
replace files in /common/lang/
add to folder /admin/ files : messagerie_email.php and message_email_send.php

and then, go in ACP to /admin/messagerie_email.php

and test it...


Image
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: Mass EMAIL

Unread postby chukillz » Fri Jan 27, 2012 7:30 pm

it works, i am going to change a few things on it such as the sender name and such, unless that is what you have to do lol

ok i cant find where it changes the "Sender name"

here is the email that it comes from.

_ADMIN_EMAIL@ip-97-74-83-222.ip.secureserver.net

and here is what it says the sender name is

IntraMessenger Admin

Im not sure where to change that at to make it say my name and have it have my email.
chukillz
 
Posts: 27
Joined: Wed Jan 04, 2012 10:34 pm

Re: Mass EMAIL

Unread postby THeUDS » Fri Jan 27, 2012 7:44 pm

chukillz wrote:it works

Good !

chukillz wrote:i am going to change a few things on it such as the sender name and such, unless that is what you have to do lol

Yes, i put the "sender name" in a special variable, for easy to change... (maybe will be an option)

I will put menu to...
(will be finish in 2.0.4 server version)
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: Mass EMAIL

Unread postby THeUDS » Fri Jan 27, 2012 8:07 pm

chukillz wrote:here is the email that it comes from.
_ADMIN_EMAIL@ip-97-74-83-222.ip.secureserver.net

Dont have to show like this,
_ADMIN_EMAIL is a constant, so content have to be displayed... :oops:
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: Mass EMAIL

Unread postby chukillz » Fri Jan 27, 2012 8:11 pm

THeUDS wrote:
chukillz wrote:here is the email that it comes from.
_ADMIN_EMAIL@ip-97-74-83-222.ip.secureserver.net

Dont have to show like this,
_ADMIN_EMAIL is a constant, so content have to be displayed... :oops:


found your issue.

it is in message_email_send.php line 38

$name_author = "IntraMessenger Admin";

Thank you so much.
chukillz
 
Posts: 27
Joined: Wed Jan 04, 2012 10:34 pm

Re: [Solved] Mass EMAIL

Unread postby THeUDS » Fri Jan 27, 2012 8:45 pm

Can you download again and replace message_email_send.php ?
(will not display _ADMIN_EMAIL)
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: [Solved] Mass EMAIL

Unread postby chukillz » Sat Jan 28, 2012 7:04 pm

ok i tested this and here is a screenshot of what i see in my email

Image
chukillz
 
Posts: 27
Joined: Wed Jan 04, 2012 10:34 pm

Re: [Solved] Mass EMAIL

Unread postby THeUDS » Sat Jan 28, 2012 7:23 pm

Simple quotes are displayed :shock:
so i change by double quotes.


Can you download same zip (only file message_email_send.php change) ?
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: [Solved] Mass EMAIL

Unread postby chukillz » Sat Jan 28, 2012 7:28 pm

yes i will download again

and yes that was the only file i changed last time. but will try again

just so you know, you have the $name_author set to IntraMessenger Admin so unless this is changed by the admin inside the php file its self it will only show up as IntraMessenger Admin, it will not change to anything else unless it is changed inside the php file manually.

this is not an issue for me, i can change this part easily, the part i am worried about is where it says _ADMIN_EMAIL@serveripaddress...

just wanted to see if you caught that.

i downloaded again and uploaded the file. again same thing as in picture.
chukillz
 
Posts: 27
Joined: Wed Jan 04, 2012 10:34 pm

Re: [Solved] Mass EMAIL

Unread postby THeUDS » Sat Jan 28, 2012 8:27 pm

You have this in code :
Code: Select all
    $headers  = "From: \"" . $name_author . "\" <\"" . _ADMIN_EMAIL . "\">\n";
    $headers .= "X-Sender: <\"" . _ADMIN_EMAIL . "\">\n";




Can you try :
Code: Select all
    $headers  = "From: " . chr(34) . $name_author . chr(34) . "  <" . chr(34) . _ADMIN_EMAIL . chr(34) . ">\n";
    $headers .= "X-Sender: <" . chr(34) . _ADMIN_EMAIL . chr(34) . ">\n";
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: [Solved] Mass EMAIL

Unread postby THeUDS » Sat Jan 28, 2012 9:02 pm

:?

I have to go buy
Image
:oops:
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: [Solved] Mass EMAIL

Unread postby chukillz » Sat Jan 28, 2012 9:48 pm

hahahahha yeah i feel you on that one brother, dont worry we will get it set correctly, well you will. you are smart like that :P

why dont you just have it so that the server admin edits that page manually with their own email address instead of calling it from the server? atleast until you get it figured out. just an idea :)
chukillz
 
Posts: 27
Joined: Wed Jan 04, 2012 10:34 pm

Re: [Solved] Mass EMAIL

Unread postby THeUDS » Sun Jan 29, 2012 8:39 pm

I forget to include options file,
so _ADMIN_EMAIL was a text, not a constant...

Problem solved.
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Next

Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest

cron