473,761 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Yahoo and PHP mail()

I recently signed up for a yahoo small business account and am having a
heck of a time getting mail() to work. My script returns the thank you
and apperas to run through but no mail is recieved and the error log is
spitting out error: unknown. Any ideas? I have reduced it down to just
trying to get a mail to go through. And so far Yahoo! has been
absolutely no help at all, just lied to me several times.

Thank you very much.

Lildog

<?php
ini_set ("sendmail_from ","yo*********@ somewhere.com") ;
$to = "yo*********@so mewhere.com";
$youremail = "yo*********@so mewhere.com";
$mailheaders = "From: $youremail\r\n" ;
$subject = "Your comments";
$strMessageBody =" testing this thing.";
mail($to, $subject, $strMessageBody , $mailheaders);
echo "<h2>Thank you</h2>";
phpinfo();
?>
Mar 16 '06 #1
3 1854
NC
Lildog wrote:

I recently signed up for a yahoo small business account
and am having a heck of a time getting mail() to work.
My script returns the thank you and apperas to run through
but no mail is recieved and the error log is spitting out
error: unknown. Any ideas?


Two, as a matter of fact:

1. Did you enable mailing from your Web Hosting Control
Panel?
2. What is the sender's address? Yahoo! requires it to be
in the domain name you're hosting.

For more information, see here:

http://help.yahoo.com/help/us/webhos...hp/php-17.html
http://help.yahoo.com/help/us/webhos...hp/php-28.html

Cheers,
NC

Mar 16 '06 #2
Yes I did enable it, I believe. All it asked me for was a from address
in my domain,and the email is in my new domain. Yahoo sent me a canned
email that they were looking into it, but that was 48hrs ago.
Does the script look correct?

In article <11************ *********@i39g2 000cwa.googlegr oups.com>, NC
<nc@iname.com > wrote:
Lildog wrote:

I recently signed up for a yahoo small business account
and am having a heck of a time getting mail() to work.
My script returns the thank you and apperas to run through
but no mail is recieved and the error log is spitting out
error: unknown. Any ideas?


Two, as a matter of fact:

1. Did you enable mailing from your Web Hosting Control
Panel?
2. What is the sender's address? Yahoo! requires it to be
in the domain name you're hosting.

For more information, see here:

http://help.yahoo.com/help/us/webhos...hp/php-17.html
http://help.yahoo.com/help/us/webhos...hp/php-28.html

Cheers,
NC

Mar 16 '06 #3
Lildog wrote:
Yes I did enable it, I believe. All it asked me for was a from address
in my domain,and the email is in my new domain. Yahoo sent me a canned
email that they were looking into it, but that was 48hrs ago.
Does the script look correct?


Yes. Check your Bulk Mail folder.
Mar 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4717
by: Travis | last post by:
Can someone give me an example of connecting to yahoo's smtp server and sending mail? I'm doing this: msg = MIMEText(self.text_ctrl_1.GetValue()) msg = sub msg = 'bossierbossman@yahoo.com' msg = to s = smtplib.SMTP('smtp.mail.yahoo.com') s.set_debuglevel(1) s.connect()
4
4702
by: Andre | last post by:
Hi guys, newbie question. I am having trouble with a script that is supposed to login me to my account on yahoo pop server. When i do this: import getpass, poplib, re POPHOST = "pop.mail.yahoo.com" POPUSER = "mylogin" POPPASS = "mypass" pop = poplib.POP3(POPHOST)
12
22117
by: Stanley | last post by:
Hi, I'd like to write a HTML page which can help me directly log in my Yahoo!mail or Gmail account without typing user name and password. Basically, I want to set up a link, click it and pop up the Yahoo/Gmail page. What technology is most appropriate for this kind of work? My current solution is not so satisfying: I download Yahoo!Mail page
11
1981
by: Brett | last post by:
In Yahoo mail, I click the Inbox link and see my messages. If I view source, I don't have HTML which contains the URL of each message. The source HTML contains javascripting and framesets. This is different from what I am seeing. If I right click on a message link and select "copy shortcut", I can paste this link into my browser. This brings me to my message. If I view source, once again, it is javascript and framesets. How do I...
2
1870
by: John Smith | last post by:
I have more than 4,000 pieces of email in my Yahoo account. I would like to write a program to download them all. In order to write such a program, I need to know a few things. 1. After I fill out userid, password, and click on "login", what exactly is sent to Yahoo? 2. When I click on "next" to fetch the next mail, what exactly is sent to Yahoo?
6
5073
by: erdem kemer | last post by:
i cant send mail to yahoo mail or hotmail while i can send my other mail accounts (pop3) is it becouse yahoo and hotmail is web-based mail here is the code MailMessage mailMsg = new MailMessage(); mailMsg.From = from; from = from + from;
7
2503
by: Mahesh Devjibhai Dhola | last post by:
Hi, I want to develop p2p (peer-to-peer) communication connection for chat in ..Net (Lang: c# - preferable) NOTE: if two LAN are behind their own router then also it should work as yahoo, msn messenger works. Let me explain scenario: In yahoo: - We login to yahoo server from yahoo messenger (yahoo server listens at
0
1008
by: skarahman | last post by:
I try a lot. Here is my code. MailMessage mail = new MailMessage(); mail.To = "toaccount@gmail.com"; // put to address here mail.From = "fromaccount@yahoo.com"; // put the from address here mail.Subject = "TEST MAIL"; // put subject here mail.Body = "TEST MAIL"; // put body of email here ...
8
19234
AmberJain
by: AmberJain | last post by:
I'm having an mail account on yahoo mail. I formatted my HDD 3 days ago and reinstalled windows XP professional SP2. My problem is that I'm unable to attach any files to any of outgoing mail in my yahoo mail account. The progress bar of yahoo "file attaching" operation just progress for infinite time without attaching anything. I tried this with IE 6.0 , IE 7.0 , opera 9.20 but ended with no success .
7
9822
by: undbund | last post by:
Hi I am creating a newsletter system. The software should run from desktop computer (localhost) but be able to send email to anyone on the internet. Can you guys give me some ideas on how to achieve this. Thanks
0
9353
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9909
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9788
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8794
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7342
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5241
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2765
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.