i want to send email with attachment so please help me
Can you show us the codes you have so far.
PHP has a mail command. http://php.net/manual/en/function.mail.php.
If that doesn't work,
If you have control of your web server, make sure you have a mail service running.
If not, make sure your host allows mail to be sent from user applications.
Without knowing more about your server and, as Gideon says, the code you have so far, there's not much more that anyone can help you with.
-- edit -- I think I misunderstood. It seems you have mail working but are only having trouble with the attachment. There are some user examples on PHP's mail page.
Edited 3 Years Ago
by bnmng: Misunderstood original question.
there so many tutorials on internet about it.
or try by your self and if you meet some problem come back to post.
Correction to the broken link I posted.
basic libClick Here
$mail = new PHPMailer();
$doc = $text;//some text here
$mail->AddStringAttachment($doc, 'doc.txt', 'base64', 'application/xxx');//xxx myme type
To send a mail with attachment, I will recommend the use of PHPMailer which is more simple and easier to configure than using the default mail function.
i'm to make a vacations script calculator
<input class="emri" type="text" placeholder="Name">
<input class="mbiemri" type="text" placeholder="Last Name">
<input class="Vendosni-Datelindjen" type="text" placeholder="Birthday">
<option selected="selected" value="Select ...
On my page https://fiftyallstars.com/50/curriculum.html , I have some basketball drills loading from a google spreadsheet of mine. Only thing is after it loads, I can't seem to get the datepicker ...
I am not that much of an expert in PHP as it has been few months since I started playing with it. Currently I am working on creating a basic ...