473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

how to attach files to mail before submit

2
am trying to do php mailing list but i have failed to attach files to it so that i can be able to send them as attachments with the message of the mail just like yahoo does. and my script for sending mail is not working properly please help me out.
Sep 23 '09 #1
4 2455
Markus
6,050 Expert 4TB
@zamb
Well, we are not psychics, so, considering you have not supplied the code in question, we cannot help you correct it. However, I can tell you that writing your own mail script is boring and error-prone; try out SwiftMailer - it makes everything, including email attachments, a doddle.
Sep 23 '09 #2
zamb
2
i wanted you to supply me with code that is working cause mine doesnot work
other wise swiftlailer is using classes that i don't even know
Sep 24 '09 #3
code green
1,726 Expert 1GB
If you don't understand classes then any code supplied will be useless.
Most experts would use a class for emailing.
I use phpmailer but have never looked at Swiftmailer.

But if you supply your code, maybe we could fix it.
Sep 24 '09 #4
Markus
6,050 Expert 4TB
@zamb
Well I won't. That's not how we do things. I gave you everything you need to get started - the documentation for SwiftMailer is brilliant; there is nothing you cannot learn about PHP and emailing from the documentation.
Sep 24 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: tabonni | last post by:
Hi I try to grab the checked files from HTML page and then send those PDF files as attachments. It can just send email, there are no PDF files attached. Can anybody point out my error? My...
1
by: bmcelhany | last post by:
I have a windows service that monitors a directory for newly created files. When one is found, an e-mail is generated and the new file is added as an attachment. In order to avoid trying to attach...
1
by: vijaygparikh | last post by:
HI i am writting a code for open default mail client and it works fine. i want to attach a file with the default mail client but file is not attached with "mailto:" option. If any one has idea...
6
by: a | last post by:
What is the best way to construct an email in python and also attach a html file the html file to be attached is not on disk, but should be dynamically constructed in the python script I want...
0
by: mmatchyn | last post by:
How do I attach an outlook email message as an attachment within another outlook email message. Right now I am using the following code. But I was wondering if there is a better way to do this...
0
by: sallysmedly | last post by:
Hi, I have a page where a user can browse for and attach 2 files to an email. The email works fine when I try to send a selected file from the server, but I have added in some script so that...
1
by: Jyo | last post by:
Hi All! I have problem regarding multiple file attachment. Can any one help regarding script like gmail provides for attach a file with remove link ? Also please note that this code should...
8
AmberJain
by: AmberJain | last post by:
I'm having an mail account on yahoo mail. I formatted my HDD 3 days ago and reinstalled windows XP professional SP2. My problem is that I'm unable to attach any files to any of outgoing mail in my...
66
by: happyse27 | last post by:
Hi All, my html code is sno 1) and perl code is sno 2). a) I tried to print $filename and it cant print out the value, only blank was displayed, and the file could not be uploaded. And it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.