How mail sending functionality works in PHP and JAVA ?

I was wondering if any one has came across
("protocol", "smtp");
("type", "transport");
("class", "com.sun.mail.smtp.SMTPTransport");
("vendor", "Sun Microsystems, Inc.");
("", smHost);
("mail.smtp.port", smPort);

these are property sets,will these work in JAVA?

I would like to know the property sets for PHP.


  • Manish Goyal
    Manish Goyal
    [mail function]
    ; For Win32 only.
    SMTP = localhost
    smtp_port = 25

    ; For Win32 only.
    ;sendmail_from = #-Link-Snipped-#

    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    ;sendmail_path = "D:\xampp\sendmail\sendmail.exe -t"
    If i am right , you talking about these settings, these are defined in php.ini file
  • kunaljd
    Thanks goyal

You are reading an archived discussion.

Related Posts

im havin an idea 2 do correspndence course 4 gate 4m made easy it worth doin or joinin a coachin centre in chennai is better
Hi guys am Jayesh from chennai a finaly year student doing ma bachelors in computer science engg my hobbies are messing with my lappy and movies (who doesn 😛) i...
There has been a recent trend across all Indian Engineering Colleges Especially in Computer Science and IT. Lecturers and Project Guides want students to work on IEEE projects, in simple...
Check it out here: Teachers' Domain: Ten Fun Facts About Engineering I am sure you would love it.
NASA is using Nexus S phones to upgrade volleyball-sized Synchronized Position Hold, Engage, Reorient, Experimental Satellites nicknamed "SPHERES" originally developed by MIT. The phones help the robotic satellites perform tasks...