Comments (4)
I think the problem is, your barcode should be attached on mail.
Try this '$this->email->print_debugger()' to debug your code.
from codeigniter-barcode.
I am trying to pass the image from $this->set_barcode($temp) into the view
Iload. So $message will contain other data and the image the function
set_barcode() generates like so:
$barcode = $this->set_barcode($temp);
$email_data = array('fname' =>$fname, 'barcode'=>$barcode);
$message = $this->load->view('path_to_view', $email_data, TRUE);
On Wed, Aug 31, 2016 at 5:11 AM, Andhika Desta Permana <
[email protected]> wrote:
I think the problem is, your barcode should be attached on mail.
Try this '$this->email->print_debugger()' to debug your code.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEHp6c5uboM7VHA2Q__94iN2vlWJqd92ks5qlVNOgaJpZM4JwKYr
.
from codeigniter-barcode.
public function SendEmail($results){foreach ($results->result() as $row){$this->email->clear(TRUE);$temp = rand(10000, 99999);$email = $row->email_test;$fname = $row->fname_test;$bar_code = $this->set_barcode($temp);$email_data = [];$email_data = array('fname'=> $fname, 'email'=> $email, 'bar_code'=> $bar_code);$message = $this->load->view('pages/email_format', $email_data, TRUE);$this->email->to($email_data['email']);$this->email->from("[email protected]", "Some Person");$this->email->subject("My Subject");$this->email->message($message);$send = $this->email->send();}}MY VIEW
from codeigniter-barcode.
@bambanguzumaki11 beutify your code please ..
from codeigniter-barcode.
Related Issues (17)
- Loader HOT 3
- Could not create barcode other than code128 HOT 1
- Not working on CI 3.1.0 HOT 2
- what barcodes are available? HOT 1
- Not image rendering
- Cannot declare class App\Libraries\Zend\Zend_Exception, because the name is already in use
- Via ajax request not showing barcode
- num_points parameter is deprecated IN PHP 8
- not working
- Non-existent class: Zend HOT 6
- How to use save Barcode as PDF using this library in codeigniter HOT 1
- Getting an error when running the function HOT 1
- I Wouldn't call this a issue just a question HOT 2
- Codeigniter-Empty-Barcode-Generator-Zend-Library-CI3 HOT 16
- How to create multiple barcode and save into database in a loop HOT 1
- Module load error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter-barcode.