Hi,
I am creating an application using php. I want to send a mail from my application with attachments. I get the from-address and to-address from the user at run time. Then, how i set the SMPT, port number and other details of the from-address in phpmailer class or smtp class. Please, Any one can help with any example code?
rajilakshmi
0
Newbie Poster
Recommended Answers
Jump to PostIf you search this forum for "phpmailer" then you'll get lots of threads with examples.
Jump to PostThen how I get the password of the from-address mailid?
If you ask for the fromAddress, you'll need to ask the password too. Unless maybe if the mail server is on the same server as your website, and all users have an account on that server. If each …
All 7 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
rajilakshmi
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
rajilakshmi
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
rajilakshmi
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
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.