galexcd
Jun 23 2006, 06:30 PM
galexcd
Jun 23 2006, 10:43 PM
There is another site owner who was suspended for too many outgoing emails: http://www.trap17.com/forums/index.php?s=&...ndpost&p=247070He was only using it for account verifications, I am sending mail for account verification.... Am i not allowed to do this?
Reply
OpaQue
Jun 24 2006, 04:50 AM
Try out the following example. CODE <?php /* recipients */ $to = "mary@example.com" . ", "; // note the comma $to .= "kelly@example.com";
/* subject */ $subject = "Birthday Reminders for August";
/* message */ $message = ' <html> <head> <title>Birthday Reminders for August</title> </head> <body> <p>Here are the birthdays upcoming in August!</p> <table> <tr> <th>Person</th><th>Day</th><th>Month</th><th>Year</th> </tr> <tr> <td>Joe</td><td>3rd</td><td>August</td><td>1970</td> </tr> <tr> <td>Sally</td><td>17th</td><td>August</td><td>1973</td> </tr> </table> </body> </html> ';
/* To send HTML mail, you can set the Content-type header. */ $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */ $headers .= "To: Mary <mary@example.com>, Kelly <kelly@example.com>\r\n"; $headers .= "From: Birthday Reminder <birthday@example.com>\r\n"; $headers .= "Cc: birthdayarchive@example.com\r\n"; $headers .= "Bcc: birthdaycheck@example.com\r\n";
/* and now mail it */ mail($to, $subject, $message, $headers); ?> Secondly, Make sure, your headers are properly sent because you might get banned by other mail companies. Also, the user who was suspended was sending THOUSANDS of emails were SPAM! We will not suspend anyone without a genuine reason. We have log records and complaints. Refrain from jumping onto any conclusions. :-)
Reply
galexcd
Jun 24 2006, 05:20 PM
QUOTE(OpaQue @ Jun 23 2006, 09:50 PM)  Also, the user who was suspended was sending THOUSANDS of emails were SPAM! We will not suspend anyone without a genuine reason. We have log records and complaints. Refrain from jumping onto any conclusions. :-)
Yeah... thanks, just making sure. QUOTE(OpaQue @ Jun 23 2006, 09:50 PM)  Try out the following example. CODE <?php /* recipients */ $to = "mary@example.com" . ", "; // note the comma $to .= "kelly@example.com";
/* subject */ $subject = "Birthday Reminders for August";
/* message */ $message = ' <html> <head> <title>Birthday Reminders for August</title> </head> <body> <p>Here are the birthdays upcoming in August!</p> <table> <tr> <th>Person</th><th>Day</th><th>Month</th><th>Year</th> </tr> <tr> <td>Joe</td><td>3rd</td><td>August</td><td>1970</td> </tr> <tr> <td>Sally</td><td>17th</td><td>August</td><td>1973</td> </tr> </table> </body> </html> ';
/* To send HTML mail, you can set the Content-type header. */ $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */ $headers .= "To: Mary <mary@example.com>, Kelly <kelly@example.com>\r\n"; $headers .= "From: Birthday Reminder <birthday@example.com>\r\n"; $headers .= "Cc: birthdayarchive@example.com\r\n"; $headers .= "Bcc: birthdaycheck@example.com\r\n";
/* and now mail it */ mail($to, $subject, $message, $headers); ?> Still wont work, i tried 2 different e-mail adresses. Nothing. My original code worked two days ago, but when i tried it yesterday it didn't work... and i never changed the code. Could the outgoing mail server be broken? I knowticed my mail cliant cant connect to the outgoing mail server for my computing host account.. QUOTE(OpaQue @ Jun 23 2006, 09:50 PM)  Secondly, Make sure, your headers are properly sent because you might get banned by other mail companies.
Um... what should i set my headers to so i dont get banned from other email companies?
Reply
OpaQue
Jun 29 2006, 02:03 AM
galexcd
Jul 1 2006, 01:43 AM
QUOTE(OpaQue @ Jun 28 2006, 07:03 PM)  Check now :-)
Works. Thank you!
Reply
Recent Queries:--
php mail function unreliable - 57.57 hr back. (1)
Similar Topics
Keywords : sending php mail mail function issue mail function- True Or False Mail From Computinghost ? [resolved]
- about billing system (8)
- Mail Server Is Down
- I cant recive or send mails (2)
Hi , for 3 day all mail account in my account is not working (sending, Recive) i use webmail system
, and in 3 day i lost to many important emails i check server status and i see mailscanner = failed
my domain name is fascript.com , please fix this big problem thanks ...
Stability Is Beginning To Become A Severe Issue.
- On Alpha :( (8)
OK.... I've been with computinghost, for darn near forever. I've recommended, and, still
do, computinghost to almost everyone I know. Stability used to be so good, but, over the last few
months, it's beginning to become completely unusable. My sites have been down for more than 30
mins, almost 55 times this month now. Often, I'll SSH in, to make a small change via MySQL or
whatnot (which, I ordinarily would have done via phpmyadmin.... /sad.gif"
style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> ), only to not be able to do
that EITHE...
No Website Configured At This Address
- my domain is having an issue (4)
I added on the domain indoxylseo.com a few days ago and everything was working fine, but yesterday I
submitted a support ticket requestion wildcard subdomains and when i checked today, i got the error:
QUOTE There is no website configured at this address. Please help ASAP, everytime i contact
live support they tell me to email support and when I do email support, I don't get any
response! PS. cPanel username: downloa Topic title modified. Please do not make a topic title
that can be viewed as a fault of ComputingHost. ...
Php : Undefined Function Imagecreatefromjpeg() ?!
- (2)
Hi there, I get this error in my php script : Call to undefined function: imagecreatefromjpeg();
/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> there is a few time
this function was enable.... Where is gone the gd library ? Why this usefull library is no more
enable ? Advice us about this, no way to do a good job whitout this library... Bye....
Php Mail Restrictions And Phpbb
- (0)
Let me start by saying I have several domains hosted by computing host and had some problems with
their consistency in the beginning. Lately however, they seem to have really turned things around,
and their uptime has been very good. I appreciate that they were diligent enough to work out their
problems. Anyway here's my prob: It seems that when using the php mail(), I'm only able to
send to my hosted domain. I can send to me@myhosteddomain.com and not
you@yourdomainhostedsomewhereelse.com if you know what I mean. I understand why this is being done
and I...
Can't Send Mail Via Smtp
- Help? (9)
Hi all, I'm setting up my email accounts to use remotely with Outlook and/or Thunderbird. I have
been able to set up my accounts to pull emails down from the server with both POP3 and IMAP.
However, I'm not having any luck sending mail. I have tried multiple settings but can't
figure it out. Outgoing mail server is set to "mail. .com", port 25. I am using the same
username/password details as for logging in to check mail - that being the email address and
password that I have set up in cpanel for the particular email address I wanted. I am not using SPA.
An...
Looking for sending, php, mail, mail, function, issue, mail, function
|
|
Searching Video's for sending, php, mail, mail, function, issue, mail, function
|
advertisement
|
|