How to send attachment by swift in php?

Let’s learn how to send attachment by swift in php. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

send email with attachment using php

I used this code to send email with attachment using php, but there is something error in the attachment since I receive an email and the attachment appears in the content. before I use the same code and it worked successfully. why??? <?php // sending email with attachments function sendEmail($to,$from,$file,$ext){ $to = "[email protected]"; $from = "[email protected]"; $subject = "Translation Request"; $random_hash = md5(date('r', time())); $headers = "From...

Answer:

You can either do it the way this tutorial describes, or you can use one of the PEAR modules to send...

Read more

sasola at Stack Overflow Mark as irrelevant Undo

Other solutions

How do I send an email with an attachment using PHP?

I would rather learn the actual code, rather than using pre-made scripts/classes. I'm already farmiliar with sending plain-text emails and adding some headers (from, reply-to etc) Im using PHP 4.1

Answer:

So why don't you learn the actual code by looking at pre-made scripts/classes? It's not like it comes...

Read more

patabuge... at Yahoo! Answers Mark as irrelevant Undo

Attach and send(mail) files through SMTP using PHP Mailer class?

hi evryone!!! I m usinh PHP mailer class to send email. It works fine if i send only text mail or text with image. But when i try to send mail with attachment it causes error like "Function set_magic_quotes_runtime() depreciated" . What 's...

Answer:

<?php function mail_attachment($filename, $path, $mailto, $from_mail, $from_name, $replyto, $subject...

Read more

Tushar at Yahoo! Answers Mark as irrelevant Undo

Help regarding email with attachment in php?

I am trying to send an email with attachment in php but when the email is send it's in the encoded format .. I think the prob is with my headers ..please check it and inform is there any error.. $header = "From: ".$from_name." <"...

Answer:

If you have any problem to attach/send php via email you can zip the php file with 7zip or win zip and...

Read more

nandish at Yahoo! Answers Mark as irrelevant Undo

Cant send mail through php using the pear package.Please help. Its very very urgent?

i am using cpanel 11 i have these pear packages installed on my web host Auth_SASL 1.0.2 Mail 1.1.14 Mail_Mime 1.5.2 Mail_Queue 1.2.2 Mail_mimeDecode 1.5.0 Net_SMTP 1.3.2 Net_Socket 1.0.9 Net_URL 1.0.15 i have an note in php pear section of my...

Answer:

Your code is correct, may be there is something wrong with your pear installation. Follow these steps...

Read more

kapeel at Yahoo! Answers Mark as irrelevant Undo

When i send my friend an attachment she gets the message but not the attachment,Why?

Can anyone help with this? When i send my friend a message and attach photo or a file,she gets the message but not the attachment.She tells me that she gets other downloads from other persons but not mine.What am i doing wrong? When i download the attachment...

Answer:

It sounds to me like the problem is on your friends computer, not yours, I am guessing she uses outlook...

Read more

shinysta... at Yahoo! Answers Mark as irrelevant Undo

When I send mail to others with ms outlook with attachment, attachment did not get to recepients?

when I send mail to others with ms outlook with an attachment, my recepients get my mail but they cant find my attachment. Also some recepients get my mail with attachment but they cant see paperclip symbol with the mail. I cheched everything. pls help...

Answer:

Try reinstalling Ms Outlook and then re configure ur email server.

Read more

ash9270 at Yahoo! Answers Mark as irrelevant Undo

Hi ppl.. i want to ask how can i send someone an photo attachment?

Hi ppl.. i want to ask how can i send someone an photo attachment? i want to ask how can i send someone an photo attachment in email but they dont have to download it ... i mean when i send it as an attachment it just shows at the bottom eg:abcd.gif...

Answer:

Yahoo won't let you paste it in, so sending an attachment is your only choice. People who use Outlook...

Read more

Hemangini S at Yahoo! Answers Mark as irrelevant Undo

How do I send attachment with E mail as asked below?

When I send an attachment to an E mail, I go to "Del All In One Center", place document in "photo machine" and go thru steps to include attachment with E mail message. However, I receive E mails from other people where the attachment...

Answer:

Depending on the receiving computer's set up, many things, pictures and txt file will show in the email...

Read more

NormR at Yahoo! Answers Mark as irrelevant Undo

Is there a way i can send a picture as attachment whch opens in the email body message n nt havin to download?

i need to know if there is a way i can send a picture as an attachment, but when the other person opens the email, he can see the picture in the main message body. now when i send a picture, as an attachment, the other person has to click on "save...

Answer:

No there isnt. But the person doesnt have to save the picture to their computer. They have to click...

Read more

shezz m at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.