How mail sending functionality works in PHP and JAVA ?

kunaljd

kunaljd

@kunaljd-worvpG Oct 25, 2024
I was wondering if any one has came across
("protocol", "smtp");
("type", "transport");
("class", "com.sun.mail.smtp.SMTPTransport");
("vendor", "Sun Microsystems, Inc.");
("mail.smtp.host", smHost);
("mail.smtp.port", smPort);

these are property sets,will these work in JAVA?

I would like to know the property sets for PHP.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Sep 3, 2011

    [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

    kunaljd

    @kunaljd-worvpG Sep 4, 2011

    Thanks goyal