I'm developing a social network in php. There is a feature to create custom groups by members and i want to enable the owner of the group to send emails in bulk to all group members.
And most importantly i want to make sure that most mails are not going to end up in users' SPAM list.
I'm using PHPMailer in my website
What should be ...
Hello!
I try to use Phpmailer to send registration, activation..etc mail to users...
require("class.phpmailer.php");
$mail -> charSet = "UTF-8";
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "smtp.mydomain.org";
$mail->From = "[email protected]";
$mail->SMTPAuth = true;
$mail->Username ="username";
$mail->P...
Hay I'm using PHPMailer to send some simple emails, however the function SetFrom() doesn't seem to work, even though the code I'm using is straight from phpmails docs (http://phpmailer.worxware.com/index.php?pg=examplebmail)
Here my error
Call to undefined method PHPMailer::SetFrom()
and my script
require_once('inc/phpmailer/class.p...
I'm using the PHPMailer-Lite class to build an email sending script and I'm not sure if I should use addslashses() on the $name variable when adding it to the constructor.
If somebody's last name would be O'Riley (or any other name that contains characters which should normally be sanitized before handling) and I would send it unescaped...
Hi!
I have problem with PHP mailer.
I try to send email with Embedded Image.
The php mailer send only the first image from attachment.
My Code:
Get path to all image in html using simple_html_dom.php
foreach($ht->find('img') as $img)
{
$val=$img->src;
$val=explode('/',$val);//
$c...
I'm using PHPMailer to send out site contacts.
In development, the script works perfectly with the GMail service over smtp. However, in production, inside the client's DMZ, it appears unable to connect to the SMTP service they have there. I have connected to the same service using telnet to port 25, so I know for sure it exists and is a...
hi,
I am here to find and suppy smtp credentials if required to the mail server. But how can i know whether my server requires it or not?
I am scripting in PHP and using PHPMailer
...
Hello! I am using phpmailer class to send email and i am attaching a file to the mail.
The email is sent successfully but the attachment which is an sql file is empty which should not be the case. I have tried with an image file, but it seems that every file that i attach is empty.
Can anyone help me solve this problem please?
$mail = n...
Hi, how do I add a CC mail address in PHPMailer running on a Linux server?
AddCC method only works on Windows: http://phpmailer.worxware.com/index.php?pg=methods
I tried with this method but the mail never arrives... I also tried with $mail->addCustomHeader('CC: [email protected]') without success.
Thank you.
...
hi y'all,
Hope i caught everyone doing alright. I have a small question to ask. I am developing a small site for a client and instead of using the email class with codeigniter I have chosen to use phpmailer for php5 which i found on a previous project hassle free when I used it with google last year.
This client is using godaddy's mail ...
There is a weird error in a very basic implementation of phpmailer in which the subject line adds itself twice, its only been added once in the code:
$mailer->Subject = "My Subject";
$mailer->Send();
The output is that it gets the mail but with the Subject Line seen twice in the email client. Its very odd, and its not been set earlier...
Hi,
I am using the PHPMailer Class from a website which sends confirmation of the user ajax upload to my client. This uses the mail.myclient.com SMTP Host. This is the same SMTP Host that my client uses for his outlook to check his emails.
This email from the website gets sent without errors although I have received two emails from my ...
Hello all,
I am making use of PHPMailer to send mail through GMail. The code I use is straight from a tutorial and it works perfectly on my laptop. However, testing this on a Windows 2003 Server - it seems to always return an SMPT error:
SMTP Error: Could not connect to SMTP
host. Mailer Error: SMTP Error: Could
not connect to S...
I am writing the Mail Module in my project and decide to use phpmailer to send the test email to my gmail account. However, I end up with the following error msg.
SMTP server error: "Your IP: 221.253.178.1 : Your domain myserver.com is not allowed in 550 header From"
My codes are as follow:
<?php
require_once('phpMailer/class.phpmai...
Hi.
i'm using php 5.3 apache 2.2 and phpmailer library to send mails using smtp and the process is ok.
the problem is that send a email using smtp require some time to occurs and while this happen, the apache doesn't process any other request.
how can i fix it?
...
I have been trying to send emails, using the PHP Mail Library and have been partially successful.
The only problem that I am facing is, when the Mail is received by the receiver, every new line is shown as \r\n .
I have tried this: $body = str_replace("\\r\\n", '\n', $body); but it shows a '\n' instead of a new line.
I have also tried th...
Is there an equivalent method to
$mail->MsgHTML($body);
for sending a plain text fallback email with the html email?
if that's how it works?
...
I am running Joomla 1.5.15. After working on my site, I decided to test it with different email addresses to make sure that everyone would be able to register. There was no problem with hotmail, yahoo, gmail, etc but I noticed that when I registered with my company email address, I did not receive any mail asking me to activate my accoun...
I'm using the latest version of PHPmailer, are there any security precautions i should take on top of phpmailer for preparing and sending messages?
...
Hello I finally got PHPMailer to work with Google but now I am finding out that I am getting this output to the screen after the message has been sent.
SMTP -> FROM SERVER:220 mx.google.com ESMTP f34sm21891943qco.35
SMTP -> FROM SERVER: 250-mx.google.com at your service, [76.28.109.170] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAI...