How can I get some part of string that I need?
accountid=xxxxxx type=prem servertime=1256876305 addtime=1185548735 validuntil=1265012019 username=noob directstart=1 protectfiles=0 rsantihack=1 plustrafficmode=1 mirrors= jsconfig=1 [email protected] lots=0 fpoints=6076 ppoints=149 curfiles=38 curspace=3100655714 bodkb=60000000 premkbleft=25000000 ppointrate=116
I want data after email= but up to live.com.?
I'm building a web application, call it http://mywebapp.com, where a user should be able to create a newsletter and email it to everyone in his user account's contact list. So he can check mark all his friends, select an html template, fill in the body content, and send.
The only catch to this is that after the user sends the email, the recipient must NOT be allowed to trace the source of the email back to http://mywebapp.com.
The reason for this condition is because the user is a "reseller" of my business who wants to appear as if he's an independent business. If liability issues arise due to the reseller's unduly usage, I do not want to be caught up in the legal issues. Hence, I do not want anything about my business or technology to be traceable back to me by newsletter recipients.
What's the best way to achieve this?
To verify smtp server credentials shall I use transport.connect()?
Session session = Session.getInstance(properties,authenticator);
Transport tr=session.getTransport("smtp");
tr.connect();
Is it correct method to check smtp server credentials?
I am trying to find out if I can get notified when a site is down, or when a service running under WAS is no longer running.
I don't want to code a monitoring tool, I am sure there must be something out there...
I want to create a PHP app that can send text messages. There are different gateways for different email carriers. Is there any library I could use that would be able to lookup or detect which gateway to use just by passing the phone number into it? This way I can take whatever email address I get out and use PHP's email functions to send a message. Thanks in advance!
Hi,
I've got google apps setup on my server with all the correct MX records etc, now i want to start testing it.
I want to use it for all automated
emails (registration, lost password
etc).
I'm testing on a localhost.
when I start rails s I get the following error:
C:\Sites\ticketee>rails s
=> Booting WEBrick
=> Rails 4.1.4 application starting in development on http:/0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0
.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act
ive_support/dependencies.rb:247:in `require': cannot load such file -- treetop/r
untime (LoadError)
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/mail-2.5.4/lib
/load_parsers.rb:7:in `<module:Mail>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/mail-2.5.4/lib
/load_parsers.rb:6:in `<top (required)>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/mail-2.5.4/lib
/mail.rb:79:in `<module:Mail>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/mail-2.5.4/lib
/mail.rb:2:in `<top (required)>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/dependencies.rb:247:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/actionmailer-4
.1.4/lib/action_mailer/base.rb:1:in `<top (required)>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/actionmailer-4
.1.4/lib/action_mailer/railtie.rb:49:in `block in <class:Railtie>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/lazy_load_hooks.rb:36:in `call'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/lazy_load_hooks.rb:44:in `each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.1.4/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/application/finisher.rb:64:in `block in <module:Finisher>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/initializable.rb:30:in `instance_exec'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/initializable.rb:30:in `run'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/initializable.rb:55:in `block in run_initializers'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block i
n tsort_each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (
2 levels) in each_strongly_connected_component'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_st
rongly_connected_component_from'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block i
n each_strongly_connected_component'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_st
rongly_connected_component'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_e
ach'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/initializable.rb:54:in `run_initializers'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/application.rb:300:in `initialize!'
from C:/Sites/ticketee/config/environment.rb:5:in `<top (required)>'
from C:/Sites/ticketee/config.ru:3:in `require'
from C:/Sites/ticketee/config.ru:3:in `block in <main>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/builder.rb:55:in `instance_eval'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/builder.rb:55:in `initialize'
from C:/Sites/ticketee/config.ru:in `new'
from C:/Sites/ticketee/config.ru:in `<main>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/builder.rb:49:in `eval'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/builder.rb:49:in `new_from_string'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/builder.rb:40:in `parse_file'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/server.rb:277:in `build_app_and_options_from_config'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/server.rb:199:in `app'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands/server.rb:50:in `app'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib
/rack/server.rb:314:in `wrapped_app'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands/server.rb:130:in `log_to_stdout'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands/server.rb:67:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands/commands_tasks.rb:81:in `block in server'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands/commands_tasks.rb:76:in `tap'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands/commands_tasks.rb:76:in `server'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.1.4
/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
C:\Sites\ticketee>
it exit automatically exits though I don't press Cntr+C
Can anyone help me to fix this problem
After installing Win8 x64 RC, Metro apps worked correctly, but desktop OpenGL apps were slow and unresponsive. I installed the latest Win8 nVidia drivers, and the OpenGL apps started working correctly. At the same time, because of annoying permission messages, I changed the C:\ drive and all its files ownerships to my user, and gave it full permission.
I restarted my pc after installing the drivers, and now Metro apps only show the splash screen, then crash.
I tried installing other versions of the nVidia drivers, with the same result.
My GPU is a GeForce GTX275.
Is this a known problem with nVidia drivers?
Or maybe changing the ownership of C:\ is the real problem?
Thank you.
More information (after looking in the event viewer)
I've managed to find the problem and the error in the Event Viewer. I still cannot solve it. Here's the information I found by opening the Mail app and letting it crash:
Log Name: Microsoft-Windows-TWinUI/Operational
Source: Microsoft-Windows-Immersive-Shell
Date: 07/06/2012 15.54.17
Event ID: 5961
Task Category: (5961)
Level: Error
Keywords:
User: VEE-PC\Vittorio
Computer: vee-pc
Description:
Activation of the app microsoft.windowscommunicationsapps_8wekyb3d8bbwe!Microsoft.WindowsLive.Mail for the Windows.Launch contract failed with error: The app didn't start..
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Immersive-Shell" Guid="{315A8872-923E-4EA2-9889-33CD4754BF64}" />
<EventID>5961</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>5961</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2012-06-07T13:54:17.472416600Z" />
<EventRecordID>6524</EventRecordID>
<Correlation />
<Execution ProcessID="3008" ThreadID="6756" />
<Channel>Microsoft-Windows-TWinUI/Operational</Channel>
<Computer>vee-pc</Computer>
<Security UserID="S-1-5-21-2753614643-3522538917-4071044258-1001" />
</System>
<EventData>
<Data Name="AppId">microsoft.windowscommunicationsapps_8wekyb3d8bbwe!Microsoft.WindowsLive.Mail</Data>
<Data Name="ContractId">Windows.Launch</Data>
<Data Name="ErrorCode">-2144927141</Data>
</EventData>
</Event>
Found other stuff, this is another error that appears when opening a Metro app:
Log Name: Application
Source: ESENT
Date: 07/06/2012 16.01.00
Event ID: 490
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: vee-pc
Description:
svchost (1376) SRUJet: An attempt to open the file "C:\Windows\system32\SRU\SRU.log" for read / write access failed with system error 5 (0x00000005): "Access is denied. ". The open file operation will fail with error -1032 (0xfffffbf8).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ESENT" />
<EventID Qualifiers="0">490</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-06-07T14:01:00.000000000Z" />
<EventRecordID>11854</EventRecordID>
<Channel>Application</Channel>
<Computer>vee-pc</Computer>
<Security />
</System>
<EventData>
<Data>svchost</Data>
<Data>1376</Data>
<Data>SRUJet: </Data>
<Data>C:\Windows\system32\SRU\SRU.log</Data>
<Data>-1032 (0xfffffbf8)</Data>
<Data>5 (0x00000005)</Data>
<Data>Access is denied. </Data>
</EventData>
</Event>
After changing permissions again (adding Everyone and Creator Owner to System32), the "access denied to sru.log" error disappears, but this one appears in its place:
Log Name: Application
Source: Microsoft-Windows-Immersive-Shell
Date: 07/06/2012 16.16.34
Event ID: 2486
Task Category: (2414)
Level: Error
Keywords: (64),Process Lifetime Manager
User: VEE-PC\Vittorio
Computer: vee-pc
Description:
App microsoft.windowscommunicationsapps_8wekyb3d8bbwe!Microsoft.WindowsLive.Mail did not launch within its allotted time.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Immersive-Shell" Guid="{315A8872-923E-4EA2-9889-33CD4754BF64}" />
<EventID>2486</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>2414</Task>
<Opcode>0</Opcode>
<Keywords>0x2000000000000042</Keywords>
<TimeCreated SystemTime="2012-06-07T14:16:34.616499600Z" />
<EventRecordID>11916</EventRecordID>
<Correlation />
<Execution ProcessID="3008" ThreadID="6996" />
<Channel>Application</Channel>
<Computer>vee-pc</Computer>
<Security UserID="S-1-5-21-2753614643-3522538917-4071044258-1001" />
</System>
<EventData>
<Data Name="ApplicationId">microsoft.windowscommunicationsapps_8wekyb3d8bbwe!Microsoft.WindowsLive.Mail</Data>
</EventData>
</Event>
Now I'm stuck. It tells me "Activation of app microsoft.windowscommunicationsapps_8wekyb3d8bbwe!Microsoft.WindowsLive.Mail failed with error: The app didn't start. See the Microsoft-Windows-TWinUI/Operational log for additional information." but I can't find the Microsoft-Windows-TWinUI/Operational log.
I'm starting a bounty.
I found the TWinUI/Operational log. It only tells me:
Log Name: Microsoft-Windows-TWinUI/Operational
Source: Microsoft-Windows-Immersive-Shell
Date: 07/06/2012 16.28.57
Event ID: 5961
Task Category: (5961)
Level: Error
Keywords:
User: VEE-PC\Vittorio
Computer: vee-pc
Description:
Activation of the app microsoft.windowscommunicationsapps_8wekyb3d8bbwe!Microsoft.WindowsLive.Mail for the Windows.BackgroundTasks contract failed with error: The app didn't start..
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Immersive-Shell" Guid="{315A8872-923E-4EA2-9889-33CD4754BF64}" />
<EventID>5961</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>5961</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2012-06-07T14:28:57.238140800Z" />
<EventRecordID>6536</EventRecordID>
<Correlation />
<Execution ProcessID="3008" ThreadID="2624" />
<Channel>Microsoft-Windows-TWinUI/Operational</Channel>
<Computer>vee-pc</Computer>
<Security UserID="S-1-5-21-2753614643-3522538917-4071044258-1001" />
</System>
<EventData>
<Data Name="AppId">microsoft.windowscommunicationsapps_8wekyb3d8bbwe!Microsoft.WindowsLive.Mail</Data>
<Data Name="ContractId">Windows.BackgroundTasks</Data>
<Data Name="ErrorCode">-2144927141</Data>
</EventData>
</Event>
I need to go deeper. I found a forum thread that told me to look for "DCOM" errors. I found this one related to the app crash
"The server Microsoft.WindowsLive.Mail.wwa did not register with DCOM within the required timeout."
Log Name: System
Source: Microsoft-Windows-DistributedCOM
Date: 07/06/2012 16.46.45
Event ID: 10010
Task Category: None
Level: Error
Keywords: Classic
User: VEE-PC\Vittorio
Computer: vee-pc
Description:
The server Microsoft.WindowsLive.Mail.wwa did not register with DCOM within the required timeout.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
<EventID Qualifiers="0">10010</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2012-06-07T14:46:45.586943800Z" />
<EventRecordID>2763</EventRecordID>
<Correlation />
<Execution ProcessID="804" ThreadID="2364" />
<Channel>System</Channel>
<Computer>vee-pc</Computer>
<Security UserID="S-1-5-21-2753614643-3522538917-4071044258-1001" />
</System>
<EventData>
<Data Name="param1">Microsoft.WindowsLive.Mail.wwa</Data>
</EventData>
</Event>
Hi,
I want to transfer HTML from my app to the iPhone mail application.
I already have the HTML text - lest say <span style='color:red'Test</span
I can place this to UIPasteBoard - but when I paste it to mail I get the html source.
When I place the same string in a HTMLView - select it there and copy it it pastes as red text in mail.
What do I have to do to place the string in the UIPasteBoard so that it pastes as red text to the mail application?
I've been searching for "format types" - and found that UIPasteBoard returns "Aplle Web Archive pasteboard type" when I have the element (copied from UIWebView) in the clipboard.
But setting this as type when adding the content to UIPasteBoard pastes nothing in the mail app.
Manfred
For business owners to "take control" of their business page on Yelp, they register for it.
The Yelp system performs a telephone call-back. From watching to the video here, it sounds like a telephone version of what we all typically do - e-mail check.
For e-mail check, it basically goes like this:
User registers verify e-mail sent they click link inside verify e-mail site verifies
Here's Yelp's:
User registers verify screen shown with code Yelp calls user user enters code site verifies
It's essentially the same thing, via phone. Is there any reason you can see why this method is better than the e-mail method?
Greetings all.
I'm faced with an issue with basic SMTP.. I would like to set the return-path header to an address other than the Sender address (i.e. From: Header) using SMTP command. I know MAIL -F sets it. However, I issued the following sequence of commands into my mail daemon (TELNET rlogin) and got the SMTP error 503 - Bad Command Sequence
TELNET
HELO:
MAIL FROM :
MAIL -F:
RCPT TO:
Subject: Test Bounce
test mail for bounce functinlaity
quit
Can anyone of you please suggest me a possible way out of this? I will be grateful.
Cheers,
Matt.
I need to fetch email from my gmail account using RoR.
require 'net/pop'
Net::POP3.start('pop.gmail.com', 995, username, password) do |pop|
if pop.mails.empty?
puts 'No mail.'
else
#pop.each_mail do |mail|
#p mail.header
#p mail.pop
puts "Mails present"
#end
end
end
I get a timeout error.
usr/lib/ruby/1.8/timeout.rb:60:in new': execution expired
(Timeout::Error)
from /usr/lib/ruby/1.8/net/protocol.rb:206:inold_open'
from /usr/lib/ruby/1.8/net/protocol.rb:206:in old_open'
from /usr/lib/ruby/1.8/net/pop.rb:438:indo_start'
from /usr/lib/ruby/1.8/net/pop.rb:432:in `start'
from script/mail.rb:4
Thanks and Cheers !
Hello all,
Can anybody suggests me any extensions for Joomla that works like Yahoo!Groups??
I needed an extensions that :
1. If i post a new subject, everybody on the subscription list get that new subject/article/post on their e-mail.
2. The subscriber/receiver of that mail, can reply it directly from their e-mail (yahoo, gmail, outlook, etc)...and, their reply shows on the website front end.
Basically, like Yahoo! Groups did...
I've tried "Acajoom", and "Ultimate Mailing List"....both worked great for creating a newsletter, subscription, and sending mail to all the subscriber.
But i cannot reply the e-mail and showed the reply on the website, and the other receiver didn;t receive it too...so there is absolutely no interaction within the mailing list.
If anyone can suggest me something, i will be very grateful
Thanx!!
I've successfully implemented form based authentication, and now I want to get the username and password to initialize session object in javamail from servlets. How can I do that? I can getlogin username by using method request.getRemoteUser(), but I don't know how to get the password.
If I create any session object like:
authentication = new PasswordAuthentication(user,password);
Properties props = new Properties();
props.put("mail.host", "localhost");
props.put("mail.debug",true);
props.put("mail.store.protocol", "pop3");
props.put("mail.transport.protocol", "smtp");
Session session = Session.getInstance(props, this);
then how can I get inbox messages from mail server based upon particular username and password, if I don't pass any password from servlets to PasswordAuthentication object?
How can I configure Drupal 6 to work with gmail IMAP?
These are the errors I get when trying to send email from Drupal.
warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. 23sm231165iwn.2 in C:\inetpub\wwwroot\acquia-drupal\includes\mail.inc on line 193.
Unable to send e-mail. Please contact the site administrator if the problem persists.
These are the settings in my PHP.ini file.
[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 587
; For Win32 only.
sendmail_from = [email protected]
Thanks in advance!
I am trying to send mail through SQL server. But in my case when i expanded the SQL Server Logs i cannot find my Database mail. How can i do this Please help me guys.
I tried so many ways for showing the database mail there.. i could get anything. Please help me guys.
I tried the following codes too
// To fix the run the following script:
USE Master
GO
sp_configure 'show advanced options', 1
GO
reconfigure with override
GO
sp_configure 'Database Mail XPs', 1
GO
reconfigure
GO
sp_configure 'show advanced options', 0
GO
Please find the below link to my snapshot of the SQL server 2012 management studio. I dont have Database mail there..
https://imageshack.com/i/f0xY6qH2p
HiHi,
I wrote C# application for import unread e-mails from outlook 2007, I could import sender name, sender mail address,subject and body to data grid view as following
foreach (Microsoft.Office.Interop.Outlook._MailItem mailItem in fldEmails.Items)
{
if (mailItem.UnRead)
{
UnreadEmails mail = new UnreadEmails();
// mail.AttachmentContent = (mailItem.UnRead == false) ? string.Empty : mailItem.Attachments.Session.OpenSharedItem;
foreach (Microsoft.Office.Interop.Outlook.Attachment Atmt in mailItem.Attachments)
{
mail.AttachmentContent = (mailItem.UnRead == false) ? string.Empty : Atmt.DisplayName;
}
emails.Add(mail);
}
}
UnreadEmails is a separte class. but couldn't find a way to import attachments (word pdf ppt excel) because i need it for my filter pls help me about it
but i could import inly name of the attachment but i need to import attachment content (word, pdf , ppt .. atc. ) to this data grid pls tell how i can do it ... with the code
I am getting an EOFError (End Of File Error) on this code in my controller. The block where the error appears is at the end of the line that says UserMailer.deliver_message( I am unaware as to how to fix this, I have been stuck for about 2 months and this site was suggested. Please help.
def contact
@title= "Contact Us"
if request.post?
@message= Message.new(params[:contact])
if @message.valid?
UserMailer.deliver_message(
:message => @message
)
flash[:notice] = "Thank you for contacting us"
redirect_to contact_url
end
end
end
Here is the message file:
<%= @mail.name %> has sent feedback or a question:
Message: <%= @mail.body %>
From: <%= @mail.email %>
And here is the UserMailer
class UserMailer < ActionMailer::Base
def message(mail)
subject 'Feedback/Questions'
recipients 'Email@email'
from 'webmaster'
body mail
end
end
I am building a helper object that has a property called Mailer. In reality Mailer can be either a System.Net.Mail.MailMessage or a Mono.System.Net.Mail.MailMessage. So I would preferably only want 1 declaration of mailer.
For example I don't want:
private Mono.Mailing.MailMessage MonoMessage = new Mono.Mailing.MailMessage();
private System.Net.Mail.MailMessage MailMessage = new System.Net.Mail.MailMessage();
I would prefer
object mailer;
Then in constructor
switch (software)
{
case EnunInternalMailingSoftware.dotnet:
this.mailer = new System.Net.Mail.MailMessage();
break;
case EnunInternalMailingSoftware.mono:
this.mailer = new Mono.Mailing.MailMessage();
break;
}
The problem is that mailer has no properties at design time. So I can't compile my code.
How can this be fixed, am I taking the right approach. Thanks in advance