Đã hoàn thành

PHPMailer Send image attachment via email from codeigniter code

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.

Kĩ năng: Android, Codeigniter, MySQL, PHP

Xem nhiều hơn: codeigniter email attachment example, send email with multiple attachment in php, codeigniter send html email example, codeigniter email attachment not working, $this->email->attach(), codeigniter multiple email attachments, this email attach not working, codeigniter send email with multiple attachment, send large attachment email free, simple asp image attachment email form, send upload file email php code, send attachment email information php demo, php send image attachment, php form image attachment email, send image phone email

Về Bên Thuê:
( 1 Nhận xét ) Tallahassee, United States

ID dự án: #16099200

Được trao cho:

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 Thêm

$10 USD trong 0 ngày
(14 Đánh Giá)
3.1

18 freelancer đang chào giá trung bình $33 cho công việc này

$25 USD trong 1 ngày
(69 Nhận xét)
6.5
BlinkBestTeam

Hello Dear Client, We have gone through your requirement and would to take this opportunity to work on this project. Can you send a detailed requirement about your project. Thank Regards Subhadip Relevant Skills and E Thêm

$35 USD trong 1 ngày
(83 Nhận xét)
6.6
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 Thêm

$30 USD trong 1 ngày
(105 Nhận xét)
6.3
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 Thêm

$30 USD trong 1 ngày
(64 Nhận xét)
5.8
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 Thêm

$30 USD trong 1 ngày
(54 Nhận xét)
5.4
$30 USD trong 1 ngày
(58 Nhận xét)
5.4
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 Thêm

$25 USD trong 1 ngày
(47 Nhận xét)
5.1
protovosolutions

Hi there, We're happy to help you with your project. We've expertise in PHP/CodeIgniter web development, module development, extension Installation & bug fixing. Relevant Skills and Experience Our Portfolio => # http: Thêm

$35 USD trong 1 ngày
(40 Nhận xét)
5.2
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 Thêm

$150 USD trong 1 ngày
(26 Nhận xét)
4.9
$30 USD trong 1 ngày
(39 Nhận xét)
4.5
baihuan45

Hello. I can give you the best result in short days. I hope you choose me. Thanks. Relevant Skills and Experience PHP, CodeIgniter, Android Proposed Milestones $25 USD - when finished

$25 USD trong 1 ngày
(3 Nhận xét)
3.8
itsmfarhan

Hi, I have read your requirements and checked your file. i will fix this bug very quickly as i have 10+ years of experinece in PHP and 5+ years of experience in codeigniter. Relevant Skills and Experience my expertise Thêm

$30 USD trong 1 ngày
(7 Nhận xét)
3.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 trong 1 ngày
(3 Nhận xét)
3.2
$25 USD trong 1 ngày
(1 Nhận xét)
1.4
anatoly02

Hello? I'm a CI expert and have rich exps mailing in CI. Let's discuss more detail over chat. Thanks. Relevant Skills and Experience 3+ years exps in CI and web development. Proposed Milestones $25 USD - A

$25 USD trong 1 ngày
(1 Nhận xét)
1.1
digreamon

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

$10 USD trong 1 ngày
(0 Nhận xét)
0.0
vw6648623vw

A proposal has not yet been provided

$15 USD trong 2 ngày
(0 Nhận xét)
0.0