44 Topics

Member Avatar for
Member Avatar for Dani

What was wrong with good ole using SMTP? Has anyone here successfully used an XOAuth library for PHP? Specifically, I'm looking to connect to my Office 365 mailbox.

Member Avatar for Dani
2
140
Member Avatar for JModak

showing Error "Failure sending mail." please help me i used port 587 because maximum example 587 used this port how i can know the my mail port or it is right error in this line SMTP.Send(Mail) massage is:- Just "Failure sending mail." ------------------ Imports System.Net.Mail Public Class Form1 Private Sub …

Member Avatar for rproffitt
0
724
Member Avatar for momal

I'm creating a contact us page for my website, I need all the contact queries to info@mycompany.com. I know how to configure for a gmail server but how do I do it for this?

Member Avatar for momal
0
258
Member Avatar for ditty

Hi I want to send mails using gmail server with my gmail id and password. I am using the php mailer class for sending mails. Please help me to do this. my code is shown below <?php $mail = new PHPMailer(); $body = "Test mail Test mail"; $mail->IsSMTP(); // telling …

Member Avatar for pritaeas
0
558
Member Avatar for vipulasri.2007

Is there any open source code project of **WEB MAIL CLIENT** that i can use straight away by doing some of the modifications in its ui .I just want to configure **imap or pop3 or smtp** settings in that and i should start recieving my mails from the specified account.

Member Avatar for pritaeas
0
190
Member Avatar for sushmaja.arumalla.9

I have to generate the mail to their mail address specified at the time of the registration to specify the username and password. So i tried the following code to send email but the email is not generated showing me either "Failure sending mail" or "Connection timed out". So please …

Member Avatar for Sulaiman_1
0
355
Member Avatar for barry.gold.963
Member Avatar for a1a4a

Greetings I am working on a mail client in visual basic, till now i can only send emails using smtp, but i am having troubles finding how to receive them. Could you help me with a working simple code on how to read/receive emails using visual basic using .Net framework …

Member Avatar for srilekha.m
0
1K
Member Avatar for joseph.lyons.754

Can anybody point me in the direction of a good tutorial or pre written script for mailing many users from a database. Have been searching for the last two days and have got nothing good :(. Any help will be greatly appreciated. Either through gmail smpt or through a legitamate …

Member Avatar for cereal
0
225
Member Avatar for McLaren

Hello, We are sending email using these settings: $config['smtp_host'] = 'ssl://smtp.gmail.com'; $config['smtp_port'] = 465; $config['protocol'] = 'smtp'; $config['mailtype'] = 'html'; $config['smtp_user'] = 'email@gmail.com'; $config['smtp_pass'] = 'password'; $config['smtp_timeout'] = 40; Thats ok it works. For few days. Later it stops sending. THen we go to gmail acount in web interface to …

Member Avatar for McLaren
0
643
Member Avatar for joshl_1995

Hello Community, I'm having trouble receiving emails from my website. This is the email address i'm sending from "no-reply@[randoma.co](http://randoma.co)" and my website is hosted by [GoDaddy](http://godaddy.com). The email address i'm trying to send it to is a hotmail email address but i have upgraded my hotmail to an outlook account. …

Member Avatar for LastMitch
0
298
Member Avatar for jeansantos

I have not found any answer on Daniweb neither on the web. What I need is a winform that send an e-mail using the Exchange Server on the local network are and authenticate with the current domain user without entering credentials. It is possible? I have this code? Can anyone …

Member Avatar for tinstaafl
0
317
Member Avatar for AARTI SHRIVAS

few days before my phpmailer function works fine but now it gives me this error The following From address failed: mona18shri@gmail.com Mailer Error: The following From address failed: mona18shri@gmail.com SMTP server error: 5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 d17sm9100541obu.0 - gsmtp what can i do for this …

Member Avatar for AARTI SHRIVAS
0
457
Member Avatar for krunal1986

Hello, I need a simple way to mail from OUTLOOK WEB APP not from OUTLOOK via a VB6 code. Anyone know how to do that? Any code/link avaliable? Thanks, Krunal

Member Avatar for samsylvestertty
0
469
Member Avatar for rhuffman8

I want to be able to write a Python script to send a text message to a user's phone using an email client. I have tried the following code: import smtplib from email.mime.text import MIMEText msg = MIMEText('message') msg['Subject'] = 'The contents of %s' % textfile msg['From'] = 'example@mail.examplecompany.net' msg['To'] …

0
276
Member Avatar for bafaqih

Hi, i made an HTML contact form with the following fields name, email and message and i want to send it to my gmail address with SMTP authentication. Please can anyone guide me with a step by step process? i am new to PHP. i found the script for SMTP …

Member Avatar for LastMitch
0
331
Member Avatar for Headshot_Harry

Hi all, I have a terribly frustrating issue I'm trying to solve and wondered if anyone would be able to help? I have a simple HTML / CSS website hosted on my webserver. This website has a basic web contact form that allows a user to fill in their details …

Member Avatar for theHop
0
580
Member Avatar for hbmarar

Hi , I googled a lot and couldnt derive a proper picture. 1. How is sendmail, SMTP related? 2. Is it required to have SMTP relay configured for sendmail to function? 3. Would sendmail have a standalone existence irrespective of OS flavor? Please suggest me on the above and it …

Member Avatar for sellccvus
0
189
Member Avatar for amy2389

require_once(LIBRARY_PATH . "phpmailer.php"); require_once(CONFIG_PATH . "emailconfig.php"); class email { public function sendMail($from,$fromname,$subject,$content,$to){ $mail = new PHPMailer(); $mail->SMTPAuth = SMTPAuth ; $mail->IsSMTP(); $mail->SMTPSecure = SMTPSecure; $mail->Host = Host; $mail->Port = Port; $mail->Username = Username; $mail->Password = Password; $mail->From = $from; $mail->FromName = $fromname; $mail->Subject = $subject; $mail->Body = $content; $mail->AddAddress($to); $mail->IsHTML(true); …

Member Avatar for pritaeas
0
361
Member Avatar for SeniorAlexandro

So I'm making a Program to Start/Restart/Stop and running commands from the Console for my Server. Now when someone uses the console, I want to be alerted of it on my Mail. I am using Visual Studio 2010. This is my Code: Dim mail As New MailMessage Dim smtp As …

Member Avatar for poojavb
0
770
Member Avatar for codechrysalis

private void btnSend_Click_1(object sender, EventArgs e) { To = txtPhoneNumber.Text.Trim() + cboCarrier.SelectedItem.ToString().Trim(); From = txtSender.Text.Trim(); Subject = txtSubject.Text.Trim(); MailServer = txtMailServer.Text.Trim(); Msg = txtMessage.Text.Trim(); try { MailMessage message = new MailMessage(From, To, Subject, Msg); SmtpClient mySmtpClient = new SmtpClient(MailServer); mySmtpClient.UseDefaultCredentials = true; mySmtpClient.Send(message); MessageBox.Show("Message has been sent to " + …

Member Avatar for codechrysalis
0
237
Member Avatar for super123

I am using the following code for receiving information from users, **is it possible to get all the information as a PDF attachment ?** protected void Button1_Click(object sender, EventArgs e) { SmtpClient smtpClient = new SmtpClient(); MailMessage message = new MailMessage(); message.To.Add("admin@domain.com"); if (CheckBox1.Checked == true) { emailadd.Text = employeenameDropDown.SelectedValue; …

Member Avatar for super123
0
293
Member Avatar for George_91

Hello, I am trying to include a Contact Form in my website. I'm using WAMPserver and Free SMTP Server to test it. The problem is, everytime I click in my button of Send Mail, this error appears in my browser: *Warning: mail() [function.mail]: failed to connect to mailserver at "localhost" …

Member Avatar for pritaeas
0
1K
Member Avatar for matrix388

I need to develop a mailing system in the intranet web-based application that I am working on it for my company. I am developing it with ASP.NET and C#. The purpose of this system is to let the admin to be able to send emails to the users. I developed …

Member Avatar for thines01
0
5K
Member Avatar for a1a4a

Hello I'm trying to send emails using smtp and getting an error This is my code : [CODE]Imports System.Net.Mail Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load SendEmail() End Sub Public Sub SendEmail() Dim client As New SmtpClient() Dim sendTo As New MailAddress("shtrees@gmail.com") …

Member Avatar for princenathan
0
1K
Member Avatar for tapandesai007

I want to send the verification mail before the user can sign in for which I have written some code, but the problem if that it gives the error "Could not find a part of the path", but I cannot understand why it is giving the error. The error occurs …

Member Avatar for mani-hellboy
0
262
Member Avatar for swissknife007

[CODE] <?php //email(to,subject,message,headers,parameters) $to="swissknife@gmail.com>"; $subject="Hi"; $message="Hello my friend"; $from="swissknife007@gmail.com"; $headers="from:".$from; mail($to,$subject,$message,$headers); echo" mail sent"; ?>[/CODE] This is a very simple php script to send an email. However ,it is not working for me and I am getting the error. [CODE] Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" …

Member Avatar for pro_learner
0
247
Member Avatar for thines01

Here is a technique I use for sending an email using GMail. Notice: You might need to change your email settings under [B]Forwarding and POP/IMAP[/B] inside your GMail settings (to Enable POP). Here is a test program for using the class library (shown in the snippet box): [CODE] using System; …

0
708
Member Avatar for stereoworld

Hi Guys, Hope you can help me with this little conundrum I'm having currently. My company has a dedicated windows server with heart internet and for means of database interaction, we've been forced to move one of our php sites to there. Everythings great and works fine - except the …

Member Avatar for stereoworld
0
1K
Member Avatar for brainfo

Am trying to create a mail funciton from php. It showing error like [CODE]Mail() [Function.mail]: Failed To Connect To Mailserver At "localhost" Port 25, Verify Your "smtp" And "smtp_Port" Setting In Php.ini Or Use Ini_Set()[/CODE] i cheked my php.ini file also in directory C:\wamp\bin\apache\Apache2.2.17\bin\php.ini. I found [CODE] SMTP = localhost …

Member Avatar for pritaeas
0
17K

The End.