Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Bulk Mail With PHPMailer?


Is it safe to use PHPMailer to send bulk mail? If so, how do i know it will not time out? Should i be using the phpMassMailer class? How do i know that that one will not time out?

I am using my localhost godaddy dedicated SMTP server to send out mail, and only a couple will go through at a time. I have to wait about an hour for the rest to send. Is there another SMTP server i should be using?




View Complete Forum Thread with Replies

Related Forum Messages:
Bulk E-Mail Thru PHP
My client has a website that offers a newsletter to readers. They signup for the newsletter and I store their e-mail into a SQL database. I want to enable my client to use the data in that database to send an e-mail to these ppl through a page on their site. ...

I guess the real question is, would it be ok to do something like,

FOR each EMAIL in DATABASE
mail($to,$subject,$body,$headers);

Or is that too intensive on the server?...I don't expect more than a thousand people to ever sign up for this thing.

View Replies !
Mail() Sent To The Bulk Mail Folder
I simply send a confirmation email to someone who has registered on my site but thte message usually gets filtered or sent to the bulk mail folder. Can someone tell me what type of content I should put in the email to get around the filter? All my content is so far is a thanks for registering message and a link for them to confirm their email address.

View Replies !
Bulk Mail Script
i have a data base of emails from subscribers from my website but i need a php script that can grab the emails from the database so i ccan send mails to all the subscribers. i need a php bulk mail script.

View Replies !
Bulk Mail() + Attachment In A Loop
I have the idea that sending bulk mail in batches is the thing to do. Script timing out [max_input_time ?], spam, and such. About 500 on the mail list. I send in lots of 100.

Are batches a good idea?
Not necessary?
Other thoughts?

Attachments:
I have got the script sending an attachment - in a single batch loop.
But, from the PHP manual

>> file will be deleted from the temporary directory at the end of the request...

I presume this means the end of the first batch.

So, I hesitate to charge off exploring alternatives without your guidance. My script hand is slow and debugging can be tediously slow - especially with mail script as it can only be done on-line and I am on 36k dial-up at the moment.

My first thought is to literally upload the file to my server and unlink on completion of the last batch.

View Replies !
Mail Going To Yahoo Bulk Folder
I have got a small problem with the php mail function. I send mail to my yahoo account using mail function, it is going to the bulk folder instead of the inbox. I have included all the headers for the mail to function. This is the code I have used.

$to = "to@domain.com";
$subject = "Test Subject";
$headers = "MIME-Version: 1.0";
$headers.= "Content-type: text/html; charset=iso-8859-1";
$headers.= "From: MyName <MyEmail>";
$msg = "Test Message";
mail($to,$subject,$msg,$headers);

View Replies !
Exim / Php Mail Function / Bulk Mailing
I've learned that my new dedicated server comes with exim installed. From what I understand, you can use php's mail() with exim, but you can't modify the 'From' header. I need to do that so I've scurried in search of an alternative to the mail function. I found the function below ( from http://www.php.net/manual/en/ref.mail.php#41340 ) works well, but, not being at all familiar with exim, I have a few questions about it.

Is it feasible to be used in a bulk email script (1 call per email)? I'm a little concerned about the sleep function. Obviously that's going to slow down an already somewhat resource intensive bulk email script. So what is it actually there for and is it really even needed? If this isn't a doable solution, is there something else you could suggest?

View Replies !
PHPMailer Vs Mail() Function
I am developing a simple mailing system. This requires sending emails in HTML format to one or more recipient. I am currently using PHP's mail() function. It works alright but it doesn't seem reliable. I am not able to send email to my hotmail account but it does send to yahoo account. I'm not sure if there is something about hotmail that blocks
emails for some unknown reason. If it goes to yahoo, it must go to hotmail. it doesn't even appear on junk mail section of hotmail. so i'm thining if I use PHPMailer, will it solve this issue? what are your thoughts?

View Replies !
PHPMailer SMTP Mail
I am trying to send emails via a PHP script and I am trying to avoid the spam filters. I have used the mail() function which seems to be the worst of all solutions. I have tried SMTP emailing via PHPMailer, and some address wont receive the emails, and 1/10 hotmail attempts will get through, the rest wont even appeaer in the junk folder. All the email contains is

SUBJECT: "Linxsmart Document"

BODY:
"
Hello <<Dynamic Name>>,

View Replies !
Sending Mail Using Phpmailer
I am using gmail smptp to send mail using phpmailer and I am getting following error.

Message was not sent
Mailer Error: The following From address failed: example.com.

My code is as follwos: PHP Code:

<?php
require_once "c:/phpmailer/class.phpmailer.php";
require_once "c:/phpmailer/class.smtp.php";

$mail = new PHPMailer();
$mail->SetLanguage('en','c:/phpmailer/language/');
$mail->PluginDir = "c:/phpmailer/";

$mail->IsSMTP();.                          

View Replies !
PHPmailer - SMTP Vs Mail & Time Out
I am trying to send out 50,000 + emails through PHPmailer.  I am using the $mail->Send();.  Is it better to use SMTP so my server won't get blocked for spam?  Is SMTP better for the server resources, it's a lot of HTML mail going out?

The PHPmailer program does not seem to be sending out all the emails and it seems to time out.  Is this due to the max_execution_time in the php configuration?  Or has anyone used the PHPmailer to send out over 100,000+ emails?  Our email list is growing and I need to make sure all emails are going out.

View Replies !
Sending Email - Mail() Function Or Phpmailer
sending email in hebrew using either the mail() function or phpmailer will result in sending gibberish. how do I fix this?

I tried setting the headers to support UTF-8 and windows-1255 and nothing worked. the encoding of the document im sending the email from is ANSI. how do I fix this? I also tried converting the string to utf8 using utf8_encode.

View Replies !
How To Include A Template HTML File To Send An E-mail Through Phpmailer
I'm using the script "phpmailer" to send an e-mail after my user enters in some information. It works great, but I'm running into too much complexity with how to include HTML to send with the e-mail. Currently, my script looks like this: Code:

View Replies !
Bulk E-mailing
I have read a number of the threads on bulk and mass emailing using PHP with a MySql databse. Interesting and informative. But would someone be kind enough to share their complete sucessful code that starts at step one.

View Replies !
'bulk' Proccessing
I have a program to add 'stamps' to sets of stamps. First you enter the number of stamps in the set(addStamp.php). Then it displays that many sets of forms (addStamp.php?do=input). Finally these are all inputted to a database (addStamp.php?do=database).

The problem is processing the multiple sets of data. I've tried something (see the $tn 's in the code) but can't get it to work. Can anyone help me out? Code:

View Replies !
Bulk Insert
I have this form that reads some info in a database that is available for inserting into another table. on each row I have a checkbox. I'd like to take the info out where there is a checkbox marked and insert into my table. Make sense? Any idea how to do this. Code:

View Replies !
Bulk Email
When I send a newsletter out to all my members via my server and mail() function, it tends to send it to everyones Bulk Mail Folder - which no one ever reads as they assume it's all spam. Are there any tricks of the trade that can help in having it directed to the Inbox?

View Replies !
Bulk Upload
After that redirects to a page wich will select where category=None and display a form with the pictures to put keywords and description when i press submit it prints all the values for each photo such as the keywords and description but i want to update for each photo the description and keywords where category=None.Here's my code:

for($i=1; $i<=3; $i++){

echo $title[$i];
echo $desc[$i];
echo $keywords[$i];
$photo[$i]=mysql_query("update photos set title='$title[$i]',
description='$desc[$i]', keywords='$keywords[$i]' where category='None' ",$link);}

the previous page all the textfields with title, category has [] like title[] , the only thing that doesn't work is the query it's like is not in cicle, it should update where category="None" the values for each photo but only records the first result, but if i clear the query and leave the echo it shows all the data typed on each photo.

View Replies !
Bulk Uploading
Recently im building a domain portfolio where it allow user to manage their domain names in an easy to use web panel. Everything goes smoothly until i had to develop a bulk uploading system. Does anyone has any idea on how to develop it? The sys should goes like this: Let's assume that there is a textarea where user may type in as many url as they like seperated by enter.

Which means one domain per line. Then there should has a processing script where it will enter that list one by one into mysql database. My thinking is to explode the list into an array and then insert one by one into the DB but i face difficulties.


View Replies !
Bulk Update?
I'd like to be able to update several items at once via checkbox selection, and I'm not sure how to go about it....

Basically, I've created a table via a query to my db, and I've printed out each row and included a checkbox for each.

I'd like to select as many checkboxes as needed and then click "Update", which will then set all the values to "Yes" in my db. Code:

View Replies !
Bulk Email Tool
I'm trying to write a bulk email tool. I ran a test on my server to see how robust the mail() function would be when under load. I wrote a simple script that just incremented the alias part of the email address and then sent it.

I set it in a loop to send 1000 emails, but just over 27% of them failed.

My automated email tool will need to send out a newsletter to about 17,000 people.

How should I go about it? The test I ran leads me to believe that simply looping through the email addresses of all site members would not be reliable.

What would be best?use usleep() to have a very small pause after each email is sent?only send 200 at a time?

View Replies !
Bulk Emailing With SMTP
I'm researching ways of using PHP/mySQL to send a single HTML formatted email message with attachments to many, perhaps 1000 recipients.

From what I've read in this forum it seems a good idea to bulk mail by sending the mail message and recipient list to a SMTP server rather than repeatedly calling the mail() function. This avoids the situation where the server stops a php script from executing due to time out. What does SMTP support that makes it more effective for this sort of thing? also is the phpmailer class from Source Forge an effective php script for bulk mailing HTML formatted email to many users?

View Replies !
Bulk Submission To Whois
I have a script (php) which allows me to query a whois server and return specific fields.

My question is, how would I submit more than one domain name at a time to my script so that each returned field is then stored into a database file associated with the domain that is queried?

There is approx. 8000 domain names registered thru our registry and we need to update the admin contact emails. The domains are currently stored in a MySql db which can be easily converted to a text file.

View Replies !
Bulk Email Server
I am using php mailer and the host I am on has a limit on the amount of emails you can send every hour.

What would be the best place to host this type of thing so its fast and it works

I only have about 1000 addresses

View Replies !
Bulk Insert => MYSQL
How do I instert multiple rows of SQL into a database from a php file?
Is there a way to have a PHP file read a MYSQL DUMP (.sql) file and run it?

View Replies !
Printing Images In Bulk
I would like to select a series of images from the networked filesystem, based on user input, and print them in bulk, one per page. I have been looking around for some examples but this is admittedly a bit of a strange one. We used to do this with Perl but I am tyring to web-enable and get around Perl altogether.

View Replies !
Bulk Image Downloading
Does anyone know if there is a free "bulk image downloader" software out there? Meaning this software is able to download all the images inside a webpage with one stroke. Or if not, any way to write this in php?

View Replies !
Sending Bulk Emails
I'm trying to send a lot of emails from my PHP script. I'm using PHPmailer. I tried to send 1000 emails but only managed to send about 600 of them. So my question for the forum is How do I send lots of emails? Are there different methods? I do not want to send one email with 1000 email addresses. I want to send 1000 unique emails.

View Replies !
Send E-mails To Bulk Contacts !
I want to know what the best way to send one e-mail to a lot of contacts ( my members here in my situation ).. as the newsletters for example..

using php code for sure note : if this would make a diiference then : the e-mails address are stored in mySQL table.

View Replies !
How To Send Email In Inbox Not In Bulk
<?php
$to="myemail@yahoo.com";
$subject="Testing Purposes";
$message="This is my message";
$headers="From: samle@yahoo.com";
mail($to,$subject,$message,$headers);
?>

this one goes to the bulk!!! what i want i to send i to inbox.

View Replies !
Mails Land Up In Bulk Or Spam
I am using the mail() function to send mails. But the mails go to the Bulk Folder in Yahoo accounts or Spam in Netscape or other accounts. Y?

View Replies !
Emails Get Sent Directly Into Customer's Bulk Or Spam Folders?
I use PHP and send emails like confirmations and notifications. But I found that most of our emails get sent directly into customer's bulk or spam folders. What can I do prevent emails from going in there?

View Replies !
Phpmailer And CSS
i have recently tried using phpmailer to format HTML emails with complete success. However, i am trying to take it a step further by using style sheets. The php script i am using is a simple script that is gathering information from a form which then sends an email to a specific user using the POST method after hitting "submit".

i was wondering how to attach a style sheet with the phpmailer class. I have tried searching the forum for info on this and havent had much luck.

View Replies !
Phpmailer And Ssl
I'm trying to send email with phpmailer class and ssl. I have configured phpmailer like here and I have this error: Code:

warning: fsockopen() [function.fsockopen]: unable to connect to ssl://www.my_server.pl:465 (Connection timed out) in class.smtp.php on line 107.

I can send email by outlook, my page is working on ssl, in php.ini I have removed ";" at extension=php_openssl.dll. what can be wrong?

View Replies !
Phpmailer
I am looking for a simple way to handle attachments of received mails as easy as phpmailer provides it for sending mails.

View Replies !
I Have Some Problems With Phpmailer....
My server has all the latest versions of everything installed, including phpmailer 1.71. So this should be a no-brainer, right?

I downloaded a VERY nice simple mailing list script from webinsta.com. Installs easily, sets up quickly, up and running in no time.... but....

You KNEW there was a "but", right? Here's what happens. I have a choice of 3 mail servers: phpmail, sendmail, and smtp. smtp gives me fsockopen() errors no matter what I do. In trying to use either phpmail or sendmail (and after correcting the path to sendmail so it's right - that is, usr/sbin/sendmail), I get the following errors (I'm sending to the listed addys only - my own - for testing purposes):

self@domain1.com gives no errors, message received just fine
self@domain2.com gives no errors, message received just fine
self@domain3.net produces 'unrouteable mail domain "domain3.net"'
self@gmail.com produces 'unrouteable mail domain "gmail.com"'
self@yahoo.com produces 'unrouteable mail domain "yahoo.com"'

Note please that these are ALL valid, working email addresses for myself. Also please notice that the two mails I get just fine using either phpmail or sendmail are on the same "umbrella" server as they are being sent FROM. *sigh*

Anyone have any ideas?

View Replies !
PHPMailer Issue
i'm using phpmailer, the variable that makes up the html body contains
other variables.

when one of these other variables contains more than 980 characters, it
stops rendering. any ideas on what would cause this limitation? is it
the mailer or might it be my code which basically prepends and appends
html (a table images etc.) around a message body containing the other
variables (like product info fields). any workarounds?

View Replies !
Using PhpMailer & HTML
I'm using the following line of php code and would like to incorporate
a little HTML in order to get line breaks <brand bold headers <b></
bwhere I want. Anyone know how to make that happen?

current:
$mail->Body = ("From: $name, Area: $area, Issue: $issue");

would like to get something as follows:
$mail->Body = ("<b>From:</b$name,<br><b>Area:</b>
$area,<br><b>Issue:</b$issue");

View Replies !
Problem With PhpMailer
I have problem with phpMailer 1.73 (windows version) After copying both
class.phpmailer and class.smtp and also language file phpmailer.lang-pl to
my php include directory im getting this error when I'm trying to use
phpMailer:

Mailer Error: Language string failed to load: recipients_failed

Does anyone know the reason for this error?

View Replies !
Phpmailer And Spam
I'm using phpmailer class (http://phpmailer.sourceforge.net) to send
mails from my site, but i can't figure out why those mails are seen as
spam by yahoo and hotmail. Gmail seems to look them better and allows
them to stay in "inbox" folder.
Are there any thing I can do about that?

View Replies !
PHPMailer On Behalf Of
Does anyone know how I can send an email using PHPMailer (or similar)
and have it send 'on behalf of' someone.

This is for a tell a friend feature on a website (I am trying to mimic
the way that the BBC website does it as I believe this will help with
the more strict spam filters). I know I could just send the email
directly from our sites email address, but that would stop the
recipient being able to reply to the friend sending the email.

I hope that makes sense!

View Replies !
PhpMailer Error
I have problem with phpMailer 1.73 (windows version) After copying both
class.phpmailer and class.smtp and also language file phpmailer.lang-pl to
my php include directory im getting this error when I'm trying to use
phpMailer:

Mailer Error: Language string failed to load: recipients_failed

Does anyone konw the reason for this error?
Could you give a solution?

View Replies !
PHPMailer Question
Does anyone know if it is possible to configure PHPMailer so that
instead of actually sending the message it writes its contents out to a
file (i.e., including all the message headers, boundaries, etc.)?

View Replies !
Inbox And PHPmailer
i am using PHPmailer in my PHP project i try to send the messages in my
script when some event happen by the user. until this all thing were ok


the problem is ?

the messages go to the junk mail , is there any way to enforce the
messages to go to the INBOX in the client email ?

View Replies !
PHPMailer Class
Is anyone using phpmailer class from SourceForge and feeding the mailer from a DB? any problems that you know of? any security issue? I might give it a try but would like hearing about your experience before digging in it .

View Replies !
Using Latest PHPMailer
i am using latest PHPMailer and it sends emails fine but take a loot at this last part of the code

mailer->send();

if(!mailer->send())
{
echo"error":
}

so it sends the mail very fine but also echo error so how is that possible? I mean its good that is sendin the mails but i still wana check if there is error in sendin any of the emails in the loop so i mark in the DB who didnt recieve so i resend it or somethig.

View Replies !
Phpmailer/smtp
my phpmailer script, which emails a cart confirmation to a customer, does not work every now and then. However, I've identified when this happens, and am guessing at the problem. At work, we have wireless connectivity, and the way they have their wireless setup, I can NOT send mail, via outlook, using my websites smtp server.

The wireless connection at work FORCES me to use their smtp server in order to send mail via outlook. And this is where i have problems with phpmailer. So is this because of the same reason? Is it because the phpmailer uses smtp and the isp that i am using here at work will not allow me to use another smtp other than theirs?

View Replies !
PHPMailer Error?
I'm trying to send an email from my php page to my email addresss (gmail). When I run the page, I get this error.

Mailer Error: Language string failed to load: recipients_failedadmin1sdasp@gmail.com

Should I debug or just use swiftmailer?

View Replies !
Phpmailer And Send ID
I'm using phpmailer to send mails. This great class works properly when sending to one hotmail account (I mean not considered as spam). But when I use the AddBCC() method, all recipients get the mail into the spam directories of their hotmail account.

View Replies !
Phpmailer Outlook
I have a problem with using phpmailer and outlook. whenever i send a mail using the phpmailer class outlook filters it as junk unless i put the word 'test' somewhere in the subject line. I just cant understand why, the mail filters correctly in hotmail and gmail, just outlook (which i REALLY need to accept it) is being a pain.

View Replies !
PhpMailer :: Send Only CC
array of email addresses with phpmailer by doing this:

$emails = array("email1", "email2", "email3", "email4", "email5", "email6", "email7", "email8", "email9", "email10");
$mail->AddBCC($emails);

or do you have to add each email separately with AddBCC like:
$mail->AddBCC($emails1);
$mail->AddBCC($emails2);
$mail->AddBCC($emails3;

also, does the TO array need to be assigned? i basically only want to send an email with BCCs and nothing in the TO field. can this be done, or must i have something in the TO field.

View Replies !
PHPMailer And Remote SMTP
I'm using PHPMailer to send out emails and I want to use my ISP SMTP server to send those emails since where my website is hosted, it says 'Email sent on behalf of' in the message ... yes, it's a shared hosting.

I'm using this code to send mails; PHP Code:

View Replies !
Email Formatting & Phpmailer
WITHOUT using HTML email - Is there a way to format it, so that all
the characters are the same height/width... - No matter what the
end-user uses for email..

EG :-

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved