Page 1 of 1
send attachment ?
Posted: Wed Sep 05, 2007 1:14 am
by myharshdesigner
Hello sir,
i want to send attachment through
function.
So pl tell me the the code what should i right or which method will transfer attachment through
function .
Waiting for your help
Thanks
Harsh
Posted: Wed Sep 05, 2007 1:39 am
by anjanesh
Save the trouble by using
SwiftMailer.
Posted: Wed Sep 05, 2007 1:47 am
by myharshdesigner
thanks for your reply if i want to do it with only with
Function then
because i have to look and learn how to work on swiftmailer & i don't have much time for that right now i have to complete this code today.
i have install xampp
i want to do it with ought installing any extra package.
So can i do it ?
i am new in php
thanks
Posted: Wed Sep 05, 2007 1:59 am
by anjanesh
Believe me you'll end up spending more time debugging using the mail() function.
Just use SwiftMailer, because its all there and so are the examples - 15 mins task tops.
Posted: Wed Sep 05, 2007 3:02 am
by myharshdesigner
anjanesh wrote:Believe me you'll end up spending more time debugging using the mail() function.
Just use SwiftMailer, because its all there and so are the examples - 15 mins task tops.
Thanks sir thanks for your help
now can u tell me how to install or how to use send mail.
because for using sendmail i ahve to install it na 1st ?
so pl also tel me that.
AOL Speak
Posted: Wed Sep 05, 2007 12:19 pm
by feyd
myharshdesigner, I've asked on a number of occasions for you to start complying with our rules. You have yet to comply. Your ability to post may soon be compromised if you do not cease breaking the rules. In this thread alone you have used "u" and "pl" along with misspelling several other simple words.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
Posted: Wed Sep 05, 2007 12:33 pm
by anjanesh
myharshdesigner wrote:now can u tell me how to install or how to use send mail.
because for using sendmail i ahve to install it na 1st ?
so pl also tel me that.
"Send mail" or are you referring to
Sendmail ?
Either way, using native mail() function to send attachments requires far more work. Do check the comments in
mail manual.
Also, check out these 2 articles at phpbuilder.com:
http://www.phpbuilder.com/columns/karti ... hp3?aid=69
http://www.phpbuilder.com/columns/jason ... p3?aid=883