Is there a way to attach multiple files to email using php?
tarek71
0
Newbie Poster
Recommended Answers
Jump to PostHave a look at the following link for mail attachments:
Jump to PostHi vipi432,
$files is an array, instead of that you stored in a database, get the value from the database and stored it in an array like same $files. Thats it!. Whatever length(no of items) you have in array will become as an attachment by using the below code.
…
Jump to Post$file = array(); array_push($file, $row[0]);
Hope you understand the logic!
Jump to PostThe code is already in the second post.
Jump to PostHo ho ho - Raj - you got one lazy so-and-so here - won't do or try anything himself. Well, serves you right for giving code without telling them to follow guidlines. Well, murali's fault I suppose. Feed a dog ...
All 17 Replies
muralibobby2015
17
Posting Pro
vipi432
0
Newbie Poster
rajarajan2017
vipi432
0
Newbie Poster
rajarajan2017
vipi432
0
Newbie Poster
rajarajan2017
vipi432
0
Newbie Poster
vipi432
0
Newbie Poster
rajarajan2017
vipi432
0
Newbie Poster
vipi432
0
Newbie Poster
diafol
vipi432
0
Newbie Poster
vipi432
0
Newbie Poster
nie_s11
0
Newbie Poster
rajarajan2017
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.