Welcome Guest, Not a member yet? Register   Sign In
Help with email attachment filename
#1

[eluser]Unknown[/eluser]
Hi Guys,

I have a program where a user can email someone. This user can be able to save(draft) their message for future sending. My problem is how can I send the email attachments with the correct filename? The correct filename is stored on the database. The filename I used to store their file is generated random string.

$filename = $this->model->the_correct_filename_stored_on_the_database();

$this->email->attach('/path/to/generated_random_string'); //here I want to use the correct filename to be used as its attachment


Anyone pls?
Thanks in advance..


Messages In This Thread
Help with email attachment filename - by El Forum - 11-02-2009, 11:45 PM
Help with email attachment filename - by El Forum - 11-03-2009, 12:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB