33 Topics
|
|
A hosting site I use was breached and a landing page form is hacked. The hack does not affect my other domains or their forms. I have reset .httaccess, swapped out the email address I use for the form, changed the PHPMAILER_master with the original, and put in a honeypot … |
|
Hi.. I would like to send an order confirmation email with the cart details. But it doesn't show the string in php, only html. My script: $to = 'adolph@site.it'; $subject = 'New Order'; $from = 'info@newsite.it'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // … |
|
Hi, quick question as I was wondering if I could setup PHPMailer and Sendmail both on the same Apache server? Wasn't sure if Apache would only allow one? Thanks in advance |
|
I have a php script which requires phpmailer and I got it to work already but I need to send the email to 3000 persons. How do I do that? I've tried searching over the net but all the examples show only to enumerate the emails addresses. Mine comes from … |
|
Hi i am working on contact form using SMTP. I am unable to send a mail. Please help me to fix the issue. **index.html** <div id="frmContact" class="w-form"> <div id="mail-status"></div> <!-- <form action="contact.php" method="post">--> <label for="name">Name:</label> <input class="w-input" type="text" placeholder="Enter your name" id="cf_name" name="cf_name"> <label for="email"><p class="info">*</p>Email Address: <span id="cf_email-info" class="info"></span></label> … |
|
i am facing small problem, i am not very good with ajax.what i want to check is email avaliblity through ajax and show no or yes.png code: <script type="text/javascript"> $(document).ready(function(){ $("#email_id").keyup(function(){ if($("#email_id").val().length >= 4) { $.ajax({ type: "POST", url: "<?php echo base_url();?>Traveller/email_is_taken", data: "email_id="+$("#email_id").val(), success: function(msg){ if(msg=="true") { $("#email_verify").css({ "background-image": … |
|
how to send mails individually instead of sending to all recipients together? my code is: function SendMail($msg,$subject,$addresses) { require "class.phpmailer.php"; //Fetch from email here foreach($addresses as $key=>$val){ $email = test_input($val); if((trim($email)=='') || (!filter_var($email, FILTER_VALIDATE_EMAIL))){ unset($addresses[$key]); } } $addresses=array_unique($addresses); $row = FetchAllsettingsCustomMailchmp(); //end fetch $mail = new PHPMailer(); $mail->PluginDir = ""; … |
|
There´s another post about this, over 3 months old, but there they are dealing with port settings which isn´t the problem, so I´m making a new thread. I send out 50+ emails in a loop via PHPMailer - SMTP. For testing purposes I send them all to myself, so I … |
|
I'm building an API and on the aspect of sending a mail. I'm getting mail not sent error. In my API, the front-end sends a JSON request consisting of the mail parameters. { "to":"gideonappoh@gmail.com", "subject":"Testing Reviewer's Page", "body": "Hello Gideon", "headers":"oksana.v@scopicsoftware.com" } I then decode them and pass them through … |
|
Here is my code: require_once("PHPMailer/class.phpmailer.php"); $mail = new PHPMailer(); // set authentication $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = "tls"; $mail->Host = "smtp.gmail.com"; $mail->Post = 587; $mail->Username = "myemail@gmail"; $mail->Password = "myemailpassword"; // set From: $mail->SetFrom("myemail@gmail.com", "First Last"); // set To: $mail->AddAddress("adifferentemail@yahoo.com", "First Last"); // set Subject: $mail->Subject = "Subject"; // … |
|
SMTP Error: Could not authenticate. SMTP server error: 5.7.14 Please log in via your web browser and then try again. 534-5.7.14 Learn more at https://support.google.com/mail/bin/answer.py?answer=787 534 5.7.14 54 e67sm2084558qge.13 - gsmtp |
|
Hi all , I have written code for sending mail with pdf file as attachment , but mail sending is not working. I used class.phpmailer.php. The files are attached herewith . Please kindly see if any solution is possible . Hence appreciated. //$mailpdf=$pdf->Output('exam_schedule.pdf', 'I'); require_once('class.phpmailer.php'); require_once('class.smtp.php'); $mail= new PHPMailer(); // … |
|
I'm rather inexperienced when it comes to php mail scripts. I've got a working script, thanks to the PHPmailer that everyone uses. But what I want is to modify it so that I send the form info to two locations: Step one, send all information as text-only to email@location.com Step … |
|
I have a calendar built for course scheduling and I'm trying to have it auto book a google resoure calendar by sending an email using phpmailer with an ics attachment ics file BEGIN:VCALENDAR PRODID:-//company// Course Scheduler//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT DTSTART:20130411T170000 DTEND:20130411T173000 DTSTAMP:20130410T110314Z ORGANIZER;CN=my@Email.com:MAILTO:my@Email.com UID:unique_id@email.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Test;X-NUM-GUESTS=0:MAILTO:myresource@group.calendar.google.com CREATED:20130410T110314Z DESCRIPTION: test LAST-MODIFIED:20130410T110314Z … |
|
<html> <head> <title>PHPMailer - SMTP (Gmail) authenrication</title> </head> <body> <?php require_once('class.phpmailer.php'); $mail = new PHPMailer(false); // the true param means it will throw exceptions on errors, which we need to catch // - - - - - - - - - Email Configuration - - - - - - - … |
|
few days before my phpmailer function works fine but now it gives me this error The following From address failed: mona18shri@gmail.com Mailer Error: The following From address failed: mona18shri@gmail.com SMTP server error: 5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 d17sm9100541obu.0 - gsmtp what can i do for this … |
|
I have a working mailer script which has already started sending out mails. We need to send an email message to approximately 5,000 email addresses. I have a few problems though. 1.) It's sending out really slow. I'm guessing it's the embedding? The image is 300+kb big, is it supposed … |
|
I have a working bulk mail script which is supposed to be sent to thousands of users. I have started sending the mails but needed to abort because there was something wrong with the message body. How do I resume the mail from where it left off? Assuming it was … |
|
I'm new to phpmailer and I tried to follow their example. I'm using php mail() function to send emails and I'm getting an error: "Invalid address: $toYou must provide at least one recipient email address. Mailer Error: You must provide at least one recipient email address." What email address is … |
|
Here is my code for this page: phileaton.est-a-la-masion.com/Day Care/contact.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META NAME="description" CONTENT="Looking for an affordable daycare for your child? Are you worried that your precious one is not learning basic skills? If so, this … |
|
I send out a newsletter using a PHP based mailing list manager installed on my server, which uses phpmailer to send. For most users that I send to, they get the newsletter fine, but users who have email accounts with cox.net , windstream.net , roadrunner.com, rr.com , earthlink.net seem to … |
|
require_once(LIBRARY_PATH . "phpmailer.php"); require_once(CONFIG_PATH . "emailconfig.php"); class email { public function sendMail($from,$fromname,$subject,$content,$to){ $mail = new PHPMailer(); $mail->SMTPAuth = SMTPAuth ; $mail->IsSMTP(); $mail->SMTPSecure = SMTPSecure; $mail->Host = Host; $mail->Port = Port; $mail->Username = Username; $mail->Password = Password; $mail->From = $from; $mail->FromName = $fromname; $mail->Subject = $subject; $mail->Body = $content; $mail->AddAddress($to); $mail->IsHTML(true); … |
|
Hi every one! In localhost, my site can send email easily (using smtp and phpmailer) but when i upload my codes to oni.cc, that feature does not work at all! Should i config some things or did i do something wrong? |
|
When I am sending via Gmail using phpmailer, the email is taking a long time to send and also sometimes it is not going. I am using XAMPP as localhost. Here is my Code: if($_POST['submit']{ /*MAIL PART BEGINS*/ //error_reporting(E_ALL); error_reporting(E_STRICT); date_default_timezone_set('America/Toronto'); require_once('class.phpmailer.php'); //include("class.smtp.php"); // optional, gets called from within class.phpmailer.php … |
|
[CODE] <?php require('class.phpmailer.php'); $mail=new PHPMailer(); $mail->isSMTP(); $mail->SMTPDebug=1; $mail->SMTPAuth=true; $mail->Port=465; $mail->Host="ssl//smtp.gmail.com"; $mail->Host = "ssl://smtp.gmail.com"; if(isset($_GET['submit'])) { $mail->Username=check($_GET['UserName'],"user id required"); if(filter_var($_GET['UserName'],FILTER_VALIDATE_EMAIL)==false) { show_error("Invalid email address"); } $mail->Username=$_GET['UserName']; $mail->Password=check($_GET['pass'],"password required"); $con=check($_GET['conpass'],"confirm password required"); if($con!=$mail->Password) show_error("Passwords do not match"); $mail->FromName=check($_GET['name']); $_GET['rec']=check($_GET['rec'],"recipient required"); if(filter_var($_GET['rec'],FILTER_VALIDATE_EMAIL)==false) { show_error("Invalid email address"); } $_GET['recn']=check($_GET['recn']); $mail->AddAddress($_GET['rec'],$_GET['recn']); $mail->Subject=$_GET['sub']; $mail->Body =$_GET['body']; if … |
|
I have been trying to send email for 2 days. using php I have tried different methods but to no avail . I am sure I am making some small mistake. Please can someone give step by step procedure of sending mail using Xampp? |
|
Hi Guys, Hope you can help me with this little conundrum I'm having currently. My company has a dedicated windows server with heart internet and for means of database interaction, we've been forced to move one of our php sites to there. Everythings great and works fine - except the … |
|
i have a page that has a textarea (id="elm1") i post this value to the same page when a submit page is clicked to send the value of the textarea in a html mail the textarea will contain html code but when i use it only the text comes in … |
|
I get this error when trying to send e-mail form with PHP Mailer 5.1: SMTP Error: Could not connect to SMTP host. Error sending: SMTP Error: Could not connect to SMTP host. [CODE] <?php require("PHPMailer5\class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = 'tls'; $mail->SMTPSecure = 'ssl'; $mail->Host … |
|
How? Im developing a site. It has an email app that sends email. Im trying to know how to do it the other way. This time, gmail or ymail will send and my site will receive. How? I'll wait for your replies.. Thanks for the help.. |
The End.