Hi, All, Good Day! I am instructed to create an email sender program. The requirements are as follows: - masking the sender's email address (company@no-reply.com) - able to send on multiple email-addresses - delivery logs I've used System.Net.Mail(smtp) in this task but the biggest problem is that, Net.Mail can't determine if the mail is successfully delivered and if not, the bounced mail should be logged in a text file. In addition, I need to mask the sender email address but this will blocked the bounced mail(correct me if im wrong). What should I do here? I'm running out of options. …

Member Avatar
Member Avatar
+0 forum 1

is it possible not to include the account password for the user that will send the email. i tried not to put password but it does not work. the email that can send only is the one that is set. please help. this is the code: <%@ page import="java.io.*,java.util.*,javax.mail.*"%> <%@ page import="javax.mail.internet.*,javax.activation.*"%> <%@ page import="javax.servlet.http.*,javax.servlet.*" %> <% String host="", user="", pass=""; host = "smtp.gmail.com"; //"smtp.gmail.com"; user = "email"; // email id to send the emails pass = "password"; //Your gmail password String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory"; String to = request.getParameter("to");// out going email id String from = user;// Email id of …

Member Avatar
+0 forum 0

when i tried to send an email to an account it does not sent. the error result will be displayed. i got an error in the apache tomcat bin log like this: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port:25; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) at com.sun.mail.smtp.SmtpTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at javax.mail.Transport.send0(Transport.java:194) at javax.mail.Transport.send(Transport.java:124) at org.apache.jsp.mailer_jsp._jspService(mailer_jsp.java:87) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371) ................ caused by: java.net.ConnectException: Connection refuse: connect at java.net.TwoStacksPlainSocketImpl.socketConect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown …

Member Avatar
Member Avatar
+0 forum 2

I have a very simple script (below) that works fine when sending email to a single email address, however when I add another (as I have in the script below) by seperating with a comma, the script just sends the email to one of the addresses twice and not to the other one at all. Why might this be please? [CODE]<?php //start building the mail string $msg = "First name: $_POST[firstname]\n"; $msg .= "Second name: $_POST[secondname]\n"; $msg .= "Email Address: $_POST[email1]\n"; $thankyoupage = "/signup-thankyou"; //set up the mail $recipient = "recipient1@test.com,recipient2@test.com"; //the inbox where the sent mail goes $subject = …

Member Avatar
Member Avatar
+0 forum 17

Hi I am using Xampp Server in my machine, i used php mailer (class.phpmailer.php), when i run the mail file, i am getting the below error msg Could not execute: /var/qmail/bin/sendmail Please help me to solve this issue.

Member Avatar
Member Avatar
+0 forum 15

Dear All I have 2 Pages smtpAuth.php contents.php When I use this code [CODE]$body = file_get_contents('contents.php'); $body = eregi_replace("[\]",'',$body);[/CODE] It cannot show PHP variables values in Send email. Content.php file attached as contentsphpfile Whole HTML working fine but PHP DataBase values are not showing in Email.

Member Avatar
Member Avatar
+0 forum 8

The End.