PHPMailer Send image attachment via email from codeigniter code

Fullført Lagt ut 6 år siden Betales ved levering
Fullført Betales ved levering

I have an Android app whereby the user can take a selfie and have it sent to their email. I have it all working where it does send the email with the selfie embedded in the message but I want it to send the image as an attachment.

See the comments in my attached file at lines 136-152 where I have tried to get it to work with different tests but can't quite get it to work. I've tried the recommended example on line 139 to no avail.

My attached file gets the image sent from the android app and it goes to my /uploads directory, then it adds a watermark to it and copies it to the /uploads2 directory with a new name referred to as: %selfy_image% as you can see in the code.

For my security, I have removed all "personal" information from the attached file.

Android Codeigniter MySQL PHP

Prosjekt-ID: #16099200

Om prosjektet

15 bud Eksternt prosjekt Aktiv 6 år siden

Tildelt til:

user2690

Hi, I Justa want to tell you are almost right, you need to pass the name of the file , for example: $mail->AddAttachment("uploads2/".basename($_FILES['image']['name']); Relevant Skills and Experience try it, and if th Mer

$10 USD på 0 dager
(33 omtaler)
4.1

15 frilansere byr i gjennomsnitt $34 for denne jobben

cijagani

Hi There, Thanks for providing me an opportunity to place a bid for the project and communicate with you. Relevant Skills and Experience I have lots of experience with PHP MVC, MySQL, Wordpress, Codeigniter, laravel a Mer

$30 USD på 1 dag
(136 Omtaler)
6.9
testotorko

PHPMailer Send image attachment via email from codeigniter code Relevant Skills and Experience PHPMailer Send image attachment via email from codeigniter code Proposed Milestones $25 USD - PHPMailer Send image attach Mer

$25 USD på 1 dag
(91 Omtaler)
5.6
johninramp

We need to research within the code to confirm image details coming to this page or not! So, please share the full code to test it. OR please share the access details. Will check it and fix it soon. Relevant Skills an Mer

$30 USD på 1 dag
(66 Omtaler)
5.8
webarox

Hello Dear, Yes , I can help you in this project . I pleased to tell you that , I design , develop and FIX the android apps with in client requirements . I have worked on cluster of app projects . Relevant Skills and Mer

$30 USD på 1 dag
(65 Omtaler)
5.8
originitsolution

Dear Sir, I have studied your project "PHPMailer Send image... " on freelancer.com. I would like to discuss the project in details over chat.I can do it. Warm Regards Kamal R Relevant Skills and Experience I'll show Mer

$150 USD på 1 dag
(36 Omtaler)
5.6
swajantalukdar

hello I already implemented same things yesterday. so worry about it. Relevant Skills and Experience Over 3 years+ experience. Proposed Milestones $30 USD - to complete the work

$30 USD på 1 dag
(13 Omtaler)
5.2
vw6648623vw

A proposal has not yet been provided

$15 USD på 2 dager
(5 Omtaler)
2.1
digreamon

The solution lies on the surface. Relevant Skills and Experience Analysis, code refactoring Proposed Milestones $10 USD - Refactor upload method

$10 USD på 1 dag
(0 Omtaler)
0.0