AirMail 3.0

Have you tried updating to the latest version, I can not reproduce this issue here on my test install.

Yes I have the latest version installed.

A question… Does the AirMail distribution list have anything to do with the groups in phpVMS? i.e. does it send NOTAM AirMails to everyone in the “All Pilots” group?

Looking at the code I don’t think it does… but in my case I don’t have an “All Pilots” group, instead I have a group for each Hub along with retired members group.

I’m just wondering if by me deleting the “All Pilots” group I have caused the issue.

What version of phpVMS are you running? - Something somewhere seems odd. I willt ry a fresh install here again today and see if I can get the error.

Okay awesome.

In the meantime I’ll delete and reinstall the module once again to see if by any miracle that works!

Just to follow up on this I fixed the issue.

Well saying I fixed the issue is probably stretching the truth a little. I completed deleted and reinstalled the module and the DB tables and it has fixed the issue.

Also I don’t know if anyone else has experienced an issue when an Airmail is replied back and forth between two people. It is only displaying what the other person has said throughout the conversation, not what you have been saying. This means you have to look in sent messages to see what your replies have been.

Hey Dave,

Did you manage a solution to this issue?

Hi There,

I’ve installed AirMail 3.0 and everything looks good up until it comes to sending a message and for some reason it’s not going to the inbox, and also when I go to sent messages it’s empty and doesn’t show the message I sent, I know I’ve gone wrong somewhere but not sure where, Any help greatly appreciated

Hi There,

I’ve installed AirMail 3.0 and everything looks good up until it comes to sending a message and for some reason it’s not going to the inbox, and also when I go to sent messages it’s empty and doesn’t show the message I sent, I know I’ve gone wrong somewhere but not sure where, Any help greatly appreciated

Did you install the included sql file? It sounds like there are no database tables.

Hi many thanks for the reply, yes I installed the included sql file, I’ve been into the mysql database to check the tables have been installed and are indeed there, which are as follows:

phpvms_airmail

Field Type Collation Attributes Null Default Extra Action

id int(10) UNSIGNED No auto_increment

who_to varchar(20) latin1_swedish_ci No

who_from varchar(20) latin1_swedish_ci No

date datetime No 0000-00-00 00:00:00

read_state smallint(1) UNSIGNED No 0

deleted_state smallint(4) No 0

sent_state smallint(4) No 0

subject varchar(50) latin1_swedish_ci No

message text latin1_swedish_ci No

notam smallint(6) No 0

sender_folder int(11) Yes 0

receiver_folder int(11) Yes 0

thread_id int(10) No 0

Check All / Uncheck All With selected:

phpvms_airmail_email

Field Type Collation Attributes Null Default Extra Action

id int(11) No auto_increment

pilot_id int(11) No

email int(1) No 0

Check All / Uncheck All With selected:

phpvms_airmail_folders

Field Type Collation Attributes Null Default Extra Action

id int(11) No auto_increment

pilot_id int(11) No

folder_title varchar(50) latin1_swedish_ci No

Check All / Uncheck All With selected:

Hi Simpilot,

For god knows what reason after copying and pasting the information above onto this forum the airmail has now started working, Many thanks for the reply please would you be able to help me out with the other issues I’m having

Okay just thought i will post this i dont know if its a server issue on our side or it could be the plugin manager…so i tried to install airmail using the plugin manager and all it did was set up the sql tables…everything else i had to installed manually…nothing was installed by the plugin manager…also on the mail_main.tpl on lines 16 and 33 where it says “mailimages/airmail_logo.png” or any other image associated with the module you might want to change “mailimages” and replace with “assets” (i.e. mail/assets/airmail_logo.png) thats where the images used by airmail are stored mailimages folder doesnt exists on the module

Hello there,

I have tried modifying the templates, but they don’t seem to be working for some reason? I’ve dropped and reuploaded the database as suggested in the few first posts. This is the code I have…

...
<?php
   if ($items > 0)
       {
           echo '<font color="yellow">You have new unread mail</font>';
       }
       else
       {
           echo 'You have no new mail';
       }
?>
...

And the effect is the same as default. It just says “You Have Mail”.

Have you placed another copy of the template in your skin folder and maybe editing the one in the /core/templates folder?

I have placed the template in my skin folder, yes.

Did you put it inside of a folder named mail;

/lib/skins/my_skin/mail/template.tpl

If it is placed in the right place and that is the one you are editing try using a color code instead of a name.

I haven’t made a /mail folder actually, I thought it’s meant to be in the skin root folder.

Now it works, thank you David.

How can I have so a pilot can view a pilots profile and click on a link to sent that pilot a PM?

How can I have so a pilot can view a pilots profile and click on a link to sent that pilot a PM?

That is something that can be integrated into the next version. Right now there is nothing to hook into the user list and start an airmail from there. Great idea though.

1 Like

simpilot at airmail has any chance to put in first the new messages and then the rest?

simpilot at airmail has any chance to put in first the new messages and then the rest?

I am not sure exactly what you are asking. I think you are trying to order the mail items in the inbox from newest to oldest instead of the other way around. If I am right, open /core/common/MailData.class.php and find line 21

ORDER BY date ASC";

and change it to

ORDER BY date DESC";

Save the file and it should now order the mail from newest to oldest.