Programming › Re: Countries With Best web developers, Nigeria Ranked 48th by Ayemileto(m): 10:45pm On Mar 06, 2018 |
 Well, well, well..... |
Literature › Re: The Armed Robbers Vs 3 Years Old Kid ( Short Story) by Ayemileto(m): 8:32am On Mar 05, 2018 |
|
Literature › Re: Lies From Pretty Lips by Ayemileto(m): 3:43pm On Feb 28, 2018 |
Wow. Nice write up. Quite interesting. 1 Like |
Literature › Re: Beauty And The Mechanic by Ayemileto(m): 6:59am On Feb 15, 2018 |
SheWrites: It is frustrating... can't get series of work done... filling stations are not selling fuel in Jerry cans. its just pathetic BEDCis the same. And some liars are saying the current president is improving the light. @SheWrites, Those stations that refuses to sell into Jerry Cans will always sell into generator(NNPC inclusive). Just carry the entire generator there. Its probably because Jerry Cans will reveal the fact that their litre measurements are incomplete. |
Phones › Re: Opera Mini Browser Is Becoming Something Else by Ayemileto(m): 11:56am On Feb 03, 2018 |
Samcoflex75: but chrome doesnt open gmail, dont know if you had that experience too or its just me Its just you. We have many other browsers, Firefox, puffin etc. I mostly use chrome and firefox tho. |
Literature › Re: CROSS (magic. Sorcery. Myth) by Ayemileto(m): 2:22pm On Jan 24, 2018 |
Thanks for the update. You're doing a good job, well done. |
Literature › Re: My Life At DESPO By Whizkidefe by Ayemileto(m): 6:03pm On Jan 21, 2018 |
welldone oo OP. your story is quite interesting. |
Literature › Re: CROSS (magic. Sorcery. Myth) by Ayemileto(m): 8:46am On Jan 19, 2018 |
Wordsmith001. you're really trying. nice writeup bro. |
|
Literature › Re: Chronicles Of Temy (my Life On Campus) by Ayemileto(m): 12:07am On Jan 16, 2018 |
1 Like |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 9:38pm On Jan 09, 2018 |
Username and password will be my hosting login details right? |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 9:22pm On Jan 09, 2018 |
Bolaji21: In my suggestion, I specifically requested that you use your server stmp. If your domain name is mywebsite.com, then use mail.mywebsite.com
Let me show you the code. Just copy, paste and modify as appropriate
require '../PHPMailerAutoload.php';
//Create a new PHPMailer instance $mail = new PHPMailer; //Tell PHPMailer to use SMTP $mail->isSMTP(); //Enable SMTP debugging // 0 = off (for production use) // 1 = client messages // 2 = client and server messages $mail->SMTPDebug = 2; //Ask for HTML-friendly debug output $mail->Debugoutput = 'html'; //Set the hostname of the mail server $mail->Host = "mail.mywebsite.com"; //Set the SMTP port number - likely to be 25, 465 or 587 $mail->Port = 25; //Whether to use SMTP authentication $mail->SMTPAuth = true; //Username to use for SMTP authentication $mail->Username = "yourname@mywebsite.com"; //Password to use for SMTP authentication $mail->Password = "yourpassword"; //Set who the message is to be sent from $mail->setFrom('from@example.com', 'First Last'); //Set an alternative reply-to address $mail->addReplyTo('replyto@example.com', 'First Last'); //Set who the message is to be sent to $mail->addAddress('whoto@example.com', 'John Doe'); //Set the subject line $mail->Subject = 'PHPMailer SMTP test'; //Read an HTML message body from an external file, convert referenced images to embedded, //convert HTML into a basic plain-text alternative body $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__)); //Replace the plain text body with one created manually $mail->AltBody = 'This is a plain-text message body'; //Attach an image file $mail->addAttachment('images/phpmailer_mini.png');
//send the message, check for errors if (!$mail->send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "Message sent!"; }
Thanks. I will try this. I guess I will place phpmailer outside the folder requiring the code? . |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 3:07pm On Jan 09, 2018 |
the same error occurred for yahoo too. |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 3:04pm On Jan 09, 2018 |
when i set use ssl to false, i have a new error.
Connected to SMTP server "smtp.gmail.com". Erro ocurred: it was not possible to read line from the SMTP server
it connected? i think.
who understand the rest? |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 1:58pm On Jan 09, 2018 |
i'm hiding services that depend on mail already(actually changing them to comments) pending the time i find a solution.
that means users won't verify their mail after signup and they wont be able to change password. |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 1:54pm On Jan 09, 2018 |
Bolaji21: In your cpanel, create an easily say noreply@yourwebsite.com Them download phpmailer and use it to send mails. In the configurwtion, use isSMTP() Of course, after downloading phpmailer, there's a folder called examples. There you'ull see examples of how to use phpmailer to send emails. It should be easy to grasp if you've been doing php for 6 months. Actuall i'm new to PHP and this is my first application. but i can follow examples. Here's the error i'm getting now. i got this same error after configuring PHPmailer. i actually thought i didn't get it right and uninstalled PHPMAILER. i installed another mail library an got same error. could not connect to the host "smtp.mail.yahoo.com": same applies to Gmail. i contacted my host and they said port 25, 465, and 587 are all available. so i'm still trying to get the stuff. they actually suggest i code a mailer myself(since i wrote the code instead of using a CMS) or use wordpress so they can help me configure it. |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 12:53pm On Jan 08, 2018 |
HostDocHosting: hi. I would like to help but with such limited info and without seeing your code, I cant help much. If you can share your page code, I could have a look for you or a link to the site. In any case, have you tried implementing Mailchimp? No. the problem i'm having is email not delievering to Gmail. To solve this i want to use an external STMP. i've decided to use Gmail as suggested above(for testing). but i'm confused about configuring mail() function to use external service. someone told me to use phpmailer. but i don't really get how to go about it. |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 9:10am On Jan 08, 2018 |
yomalex: I really do not know how much you can send with it.
SMTP Server:smtp.gmail.com Port:587 Username: gmail username Password: gmail password Can I put this in my php config file instead of using wp-mail? Thanks. |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 8:11am On Jan 08, 2018 |
ive configured gmail with wp mail.but emails sent from wihin the website are not getting delivered but those sent from within wordpress are. wordpress and my site files are in the same folder. |
Webmasters › Re: Need Help In Sending Mail From My Website by Ayemileto(op): 6:35am On Jan 08, 2018 |
yomalex: if you are not sending too much emails use gmail as smtp yomalex: if you are not sending too much emails use gmail as smtp Like how many mails can I send per day and how do I set it up? |
Webmasters › Need Help In Sending Mail From My Website by Ayemileto(op): 9:27pm On Jan 07, 2018 |
Hi webmasters. I just launched a website that allows people to signup an get verification mail to verify their account.
During testing, I noticed mails don't get delivered to Gmail but delivering successfully to yahoo mail.
I contacted my host and was told to use an stmp server.
I actually coded the website from scratch and its my first.
As per suggestion from my host, I installed WordPress and installed WP-mail after.
Now am stuck at choosing STMP. Most of the STMP server I saw online offer for bulk messages (like to an email list) which is not what I don't seen to understand the API stuff most.
Please I need suggestions on mail servers to use.
Also I need some explanations on setup and how api works.
I'm also thinking if there's any other way to go about things without installing WordPress? (I don't fancy the way unused files are on my website.) |
Computers › Re: (advice Needed) Pluging Laptop Without Battery, How Safe? by Ayemileto(m): 1:14pm On Jan 05, 2018 |
RomeoMarvis: Okay. I'm going to try it. thanks for d info How has the trial being? As in, how's your system's battery life. |
Literature › Re: CROSS (magic. Sorcery. Myth) by Ayemileto(m): 12:30pm On Jan 02, 2018 |
Nice update. Well done OP. |
Literature › Re: RUNNER By The_freelancer by Ayemileto(m): 12:14pm On Jan 02, 2018 |
Nice beginning.
But the end of a thing is better than its beginning. Don't be like some other story tellers who started something they didn't finish.
Following this story. More data to your phone. |
Food › Re: The Antelope My Dad Bought For New Year Celebration (Photos) by Ayemileto(m): 3:20pm On Jan 01, 2018 |
SmellySperm: ur own beta na,me wey chop fish nkor?  Thank God for what you have. You were able to eat fish because doctors didn't tell you to avoid it. You didn't eat fish because you were told by doctors not to eat meat. You were not compelled to eat small if the fish. You ate it yourself because you've good health. Once you're satisfied with what you have, you've little or no problem. |
Romance › Re: Hong Kong Lady Regrets Undergoing 30 Cosmetic Surgeries To Please Boyfriend by Ayemileto(m): 3:05pm On Jan 01, 2018 |
I don't think many people read the post.
The Lady's just putting blame on the BF.
She started having cosmetic surgery at 17 more than two years b4 meeting the BF.
She only had more after meeting him but blaming him for all.
Its her fault, from my own point of view. |
Politics › Re: Fg’s Appointment Of NFF Board Members An Oversight – Dalung by Ayemileto(m): 12:36pm On Dec 31, 2017 |
Okoroawusa: This is a BIG embarrasement.
However,it will NEVER I repeat NEVER diminish my support for Buhari.
There is no perfection anywhere on earth
The presidency should apologize to Nigerians.
Nonetheless,I prefer a govt that makes mistake on names compilation to the one that sees stealing as no corruption. Stealing is not corruption. Check your dictionary. |
Literature › Re: CROSS (magic. Sorcery. Myth) by Ayemileto(m): 12:11pm On Dec 31, 2017 |
Nice story bro. More data to your phone. |
|
Literature › Re: CROSS (magic. Sorcery. Myth) by Ayemileto(m): 12:35pm On Dec 28, 2017 |
Nice one bro. Keep up the good story. |
Webmasters › Re: Anyone Hosting With Speedyconnect? by Ayemileto(op): 12:27pm On Dec 28, 2017 |
Emmysky: Using speedyconnect for my main blog and i use hub8 free hosting as a demo/testing ground or platform for trying out new codes before implementation on my main blog.
i have a domain with hub8 but i couldn't change the nameservers. Tried and tried didn't work. Contacted support and they weren't so supportive Thanks bro. The Unlimited space promised by speedyconnect, is it in any way true? I will also like to visit your blog. Thanks. |
Webmasters › Anyone Hosting With Speedyconnect? by Ayemileto(op): 3:38am On Dec 28, 2017 |
Please is there anyone hosting with speedyconnect.net or hub8.com? how's their service? |