Webmail with file attachments
I've been playing around with a new feature to allow the sending of webmail with attachments. This is currently enabled for sending new emails only and is a bit quirky in its operation.
If you want to give it a go, backup your copy of webmail.ash and drop the two new files in the attached zip into your html/email directory.
To enable this feature, go to the checkpop.ini file and change:
[ASP_WRITE]
Showattachment=0
to
Showattachment=1
If you wish to send an email with attachments YOU MUST ATTACH THEM FIRST.
When you call webmail.ash, you will be presented with a new button marked 'Add Attachments'. Pressing this button will take you to a new page which will allow you to upload files you wish to send with your email.
Once the files have been uploaded, you will see a list of files in the attachment field box. You can delete the file attachment names from this box and these files will not be sent when sending the email. That said, the files still remain on the server so any other changes to the email and they will appear again. You therefore need to do this last or press the reset button which will delete all files so that you can start again.
Once the email is sent the files are automatically deleted.
It is important to note that when sending a single file, this will be sent as-is, however more than one and the program will automatically zip them up and call it attachment.zip
In summary, to send an email with attachments:
1) Select the attachments to send.
2) Select addresses from the address book
3) Write the email
4) Send the email
If you try this out, please let me know of any problems or is working OK.
I've been playing around with a new feature to allow the sending of webmail with attachments. This is currently enabled for sending new emails only and is a bit quirky in its operation.
If you want to give it a go, backup your copy of webmail.ash and drop the two new files in the attached zip into your html/email directory.
To enable this feature, go to the checkpop.ini file and change:
[ASP_WRITE]
Showattachment=0
to
Showattachment=1
If you wish to send an email with attachments YOU MUST ATTACH THEM FIRST.
When you call webmail.ash, you will be presented with a new button marked 'Add Attachments'. Pressing this button will take you to a new page which will allow you to upload files you wish to send with your email.
Once the files have been uploaded, you will see a list of files in the attachment field box. You can delete the file attachment names from this box and these files will not be sent when sending the email. That said, the files still remain on the server so any other changes to the email and they will appear again. You therefore need to do this last or press the reset button which will delete all files so that you can start again.
Once the email is sent the files are automatically deleted.
It is important to note that when sending a single file, this will be sent as-is, however more than one and the program will automatically zip them up and call it attachment.zip
In summary, to send an email with attachments:
1) Select the attachments to send.
2) Select addresses from the address book
3) Write the email
4) Send the email
If you try this out, please let me know of any problems or is working OK.
Comment