I have written an internal mail module (AIRmail) for phpVMS and tested it both on my local development server and on my live site. I am looking for a couple of VA CEO’s to install and test the system on their site and make any suggestions for improvements. Leave a post or send a PM if you would be interested. The package is ready for deployment now.
Place them in the appropriate folders on your site and run the airmail.sql file using phpmyadmin within your database that is being used for phpvms. It will create a new table called airmail and also place all the rows that are needed for the module to work.
You will need to create a link in your navagation menu to access the AIRmail system ->
In the mail_new.tpl file you need to modify the value in line 40 to reflect your va code “only edit the three digit code - nothing else” I am working on an automated insert for this but have not found the solution yet ->
Line 40 - <td><b>Pilot ID: <input type=“text” name=“username” value=“NEA” /></b></td>
Use the pilot id number for the TO field when sending mail. I am working on a database query to create a drop down of all the pilots in the airline for that field but wanted to get this version out to get testing started. I will add updates as I go.
You can modify the templates to match your skin if you would like, they are supplied with just basic markup at this point.
Remember to backup your database and other folders before making changes with this module just as you would any other time when you are making changes.
Please post here in this thread if you need help or have other issues or suggestions so others that may be having the same problem can be helped as well…
Be sure to go through the thread for any corrected filesÂ
EDIT 9/13 4:15pm board time - Attached packages has all fixes as of 9/13
i have installed the files and think i don the correct thing in the database look at attachemend but if i send a mail ist succesfully send but nothing hapens.
Attached are the images needed for AIRmail. Place the folder in the root directory for your phpVMS installation. Sorry - missed them in the original package :
i have installed the files and think i don the correct thing in the database look at attachemend but if i send a mail ist succesfully send but nothing hapens.
gr joeri
Replace mail.php in your mail module with the attached - typo correction -
EDIT - File is bad - replacement posted later in thread
and alsow the standard name for sending is NEA is it possible to change this
The change is in the post with the files
In the mail_new.tpl file you need to modify the value in line 40 to reflect your va code “only edit the three digit code - nothing else” I am working on an automated insert for this but have not found the solution yet ->
Line 40 - <td><b>Pilot ID: <input type="text" name="username" value="NEA" /></b></td>
I also have everything right but a send a mail, it says AIRmail sent! but nothing happends… I replaced the mail.php you just gave but happends the same,
In the mail_new.tpl file you need to modify the value in line 40 to reflect your va code “only edit the three digit code - nothing else” I am working on an automated insert for this but have not found the solution yet ->
Line 40 - <td><b>Pilot ID: <input type=“text” name=“username” value=“NEA” /></b></td>
No longer need to do this - Attached file has fix - replace your mail.php file in the mail module with the attached